Quantcast
Channel: ASP.NET Core
Viewing all articles
Browse latest Browse all 9386

Entity Framework Core 2.0 Foreign Keys

$
0
0

Hello all,

 I am working on a project using EF Core 2.0. I have a rather complex entity that has several foreign key relationships. I am using the fluent object configuration method for setup and I can't find a way to tell it about my foreign key relationships. As a result the object isn't being retrieved correctly. I can find lots of stuff about this in regular Entity Framework but am not sure if this is support currently in EF Core. Any help or suggestions would be greatly appreciated.

Thanks in advance


Viewing all articles
Browse latest Browse all 9386

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>