Category: ENTITY FRAMEWORK

DBContext & DBSet

DbContext: Is a simplified alternative to ObjectContext and is the primary object for interacting with a database using a specific model. DbSet: Is a simplified alternative to ObjectSet and is used to perform CRUD operations against a specific type from the model. DbContext and DbSet is used for the CodeFirst approach. Which enables a very […]

Read more