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 a99f872 commit cdd33c7Copy full SHA for cdd33c7
src/IntelliTect.Coalesce/TypeUsage/DbContextTypeUsage.cs
@@ -19,7 +19,7 @@ public DbContextTypeUsage(ClassViewModel classViewModel)
19
// as well as any props that aren't in the Microsoft namespace.
20
// This prevents us from picking up things from Microsoft.AspNetCore.Identity.EntityFrameworkCore
21
// that don't have keys & other properties that Coalesce can work with.
22
- .Where(p => p.Parent.Equals(classViewModel) || !p.PureType.FullNamespace.StartsWith(nameof(Microsoft)))
+ .Where(p => p.Parent.Equals(classViewModel) || !p.PureType.FullNamespace.StartsWith(nameof(Microsoft) + "."))
23
24
.Where(p => p.Type.IsA(typeof(DbSet<>)))
25
.Select(p => new EntityTypeUsage(this, p.PureType, p.Name))
0 commit comments