Entity Framework 常用类

(1)DbContext   (Entity FrameWork 5.0)

(数据库的CRUD操作)

(2)DbSet

   Represents a typed entity set that is used to perform create, read, update, and delete operations. DbSet is not publicly constructible and can only be created from a DbContext instance.  (表的CRUD操作)

原文地址:https://www.cnblogs.com/imihiroblog/p/2579402.html