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 4155bb7 commit 0cd7ae9Copy full SHA for 0cd7ae9
src/DotNetToolkit.Repository/Configuration/Conventions/Internal/PrimaryKeyConventionHelper.cs
@@ -36,7 +36,7 @@ public static PropertyInfo[] GetPrimaryKeyPropertyInfos([NotNull] IRepositoryCon
36
{
37
foreach (var propertyName in GetDefaultPrimaryKeyNameChecks(entityType))
38
39
- var propertyInfo = entityType.GetTypeInfo().GetDeclaredProperty(propertyName);
+ var propertyInfo = entityType.GetProperty(propertyName);
40
41
if (propertyInfo != null && conventions.IsColumnMapped(propertyInfo))
42
0 commit comments