Entity Framework Question:

Download Job Interview Questions and Answers PDF

Explain Entity Lifecycle?

ADO.Net Entity Framework Interview Question
ADO.Net Entity Framework Interview Question

Answer:

During entity’s lifetime, each entity has an entity state based on operation performed on it via Context (ObjectContext). The entity state is an enum of type System.Data.EntityState that declares the following values:


Added
Deleted
Modified
Unchanged
Detached

Download ADO.Net Entity Framework Interview Questions And Answers PDF

Previous QuestionNext Question
What is Model First?What is Connected Scenario?