digipolisantwerp / dataaccess_aspnetcore_deprecated

Generic repository/unit of work framework for ASP.NET Core with Entity Framework.
Other
140 stars 45 forks source link

Include inner join #20

Closed coskuncinar closed 8 years ago

coskuncinar commented 8 years ago

Hi, I wanna take inner join in query when im using include? How to make this?

StevenVandenBroeck commented 8 years ago

When you define navigation properties in your entities en use the Include method, you will get an inner join. You can find more information about navigation properties and Include in the Entity Framework documentation : http://ef.readthedocs.io/en/latest/querying/related-data.html. Using our framework, you can pass an IncludeList to the repositories : https://github.com/digipolisantwerp/dataaccess_aspnetcore#includes

coskuncinar commented 8 years ago

i found what i m looking feature in your framework. in fact i'm looking "Many-to-many: Without join entity" But in this version of efcore it does not support this feature. I hope , they will improve it...