We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f1fb915 commit 062ba0dCopy full SHA for 062ba0d
src/MongoDB.EntityFrameworkCore/Storage/MongoDatabaseCreator.cs
@@ -314,7 +314,10 @@ private static bool HasAtlasIndexes(IEntityType entityType)
314
315
foreach (var ownedEntityType in entityType.Model.GetEntityTypes().Where(o => o.FindDeclaredOwnership()?.PrincipalEntityType == entityType))
316
{
317
- return HasAtlasIndexes(ownedEntityType);
+ if (HasAtlasIndexes(ownedEntityType))
318
+ {
319
+ return true;
320
+ }
321
}
322
323
return false;
0 commit comments