File tree Expand file tree Collapse file tree 4 files changed +8
-8
lines changed Expand file tree Collapse file tree 4 files changed +8
-8
lines changed Original file line number Diff line number Diff line change 11<Project >
22 <PropertyGroup >
3- <NetCoreAppVersion >netcoreapp3.1 </NetCoreAppVersion >
4- <AspNetCoreVersion >3.1 .*</AspNetCoreVersion >
5- <EFCoreVersion >3.1 .*</EFCoreVersion >
6- <NpgsqlPostgreSQLVersion >3.1 .*</NpgsqlPostgreSQLVersion >
3+ <NetCoreAppVersion >net5.0 </NetCoreAppVersion >
4+ <AspNetCoreVersion >5.0 .*</AspNetCoreVersion >
5+ <EFCoreVersion >5.0 .*</EFCoreVersion >
6+ <NpgsqlPostgreSQLVersion >5.0 .*</NpgsqlPostgreSQLVersion >
77 <CodeAnalysisRuleSet >$(MSBuildThisFileDirectory)CodingGuidelines.ruleset</CodeAnalysisRuleSet >
88 </PropertyGroup >
99
Original file line number Diff line number Diff line change @@ -52,7 +52,7 @@ private void ResolveRelationships(IReadOnlyCollection<RelationshipAttribute> rel
5252 {
5353 if ( ! ( relationship is HasManyThroughAttribute ) )
5454 {
55- INavigation inverseNavigation = entityType . FindNavigation ( relationship . Property . Name ) ? . FindInverse ( ) ;
55+ INavigation inverseNavigation = entityType . FindNavigation ( relationship . Property . Name ) ? . Inverse ;
5656 relationship . InverseNavigationProperty = inverseNavigation ? . PropertyInfo ;
5757 }
5858 }
Original file line number Diff line number Diff line change 2323 <ItemGroup >
2424 <PackageReference Include =" Ben.Demystifier" Version =" 0.4.1" />
2525 <PackageReference Include =" Humanizer" Version =" 2.11.10" />
26- <PackageReference Include =" Microsoft.EntityFrameworkCore" Version =" 3.1.0 " />
27- <PackageReference Include =" Microsoft.EntityFrameworkCore.Relational" Version =" 3.1.0 " />
26+ <PackageReference Include =" Microsoft.EntityFrameworkCore" Version =" $(EFCoreVersion) " />
27+ <PackageReference Include =" Microsoft.EntityFrameworkCore.Relational" Version =" $(EFCoreVersion) " />
2828 <PackageReference Include =" Microsoft.SourceLink.GitHub" Version =" 1.0.0" PrivateAssets =" All" />
2929 <PackageReference Include =" Newtonsoft.Json" Version =" 13.0.1" />
3030 <PackageReference Include =" SauceControl.InheritDoc" Version =" 1.3.0" PrivateAssets =" All" />
Original file line number Diff line number Diff line change @@ -374,7 +374,7 @@ private bool HasForeignKeyAtLeftSide(RelationshipAttribute relationship)
374374 if ( relationship is HasOneAttribute )
375375 {
376376 INavigation navigation = TryGetNavigation ( relationship ) ;
377- return navigation ? . IsDependentToPrincipal ( ) ?? false ;
377+ return navigation ? . IsOnDependent ?? false ;
378378 }
379379
380380 return false ;
You can’t perform that action at this time.
0 commit comments