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

System.Data.Entity equivalent in Core?

$
0
0

Hi,

In MVC5, I reference the namespace System.Data.Entity and set the type below

IDbSet<TEntity> Set<TEntity>() where TEntity : ModelEntity;

But what is the equivalent in Core? The interface IDbSet has an error "missing assembly reference". I already added Microsoft.EntityFrameworkCore but still getting the error.

Thanks,


Viewing all articles
Browse latest Browse all 9386

Trending Articles



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