Skip to content

Commit

Permalink
Remove incorrect short-circuit.
Browse files Browse the repository at this point in the history
  • Loading branch information
AndriySvyryd committed Feb 20, 2021
1 parent b65cfb4 commit 0e77ee3
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/EFCore/Internal/DbContextServices.cs
Original file line number Diff line number Diff line change
Expand Up @@ -77,12 +77,6 @@ private IModel CreateModel(IModel modelFromOptions)
throw new InvalidOperationException(CoreStrings.RecursiveOnModelCreating);
}

if (modelFromOptions != null
&& modelFromOptions.ModelDependencies != null)
{
return modelFromOptions;
}

try
{
_inOnModelCreating = true;
Expand Down

0 comments on commit 0e77ee3

Please sign in to comment.