Skip to content

Commit

Permalink
Выброс ошибки при одновременном использовании параметров masterLightL…
Browse files Browse the repository at this point in the history
…oadAllTypes и masterLightLoadTypes
  • Loading branch information
inaidanov committed Mar 26, 2024
1 parent c99efbf commit 16999ff
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ public DefaultDataObjectEdmModelBuilder(

if (masterLightLoadAllTypes)
{
System.Diagnostics.Debug.WriteLine("Detected usage of masterLightLoadAllTypes parameter together with masterLightLoadTypes in DefaultDataObjectEdmModelBuilder. masterLightLoadTypes will be ignored, all data objects will be loaded in MasterLightLoad mode.");
throw new ArgumentException("Parameters masterLightLoadAllTypes and masterLightLoadTypes can not be used together in DefaultDataObjectEdmModelBuilder.");
}
}

Expand Down

0 comments on commit 16999ff

Please sign in to comment.