This question is locked. New answers and comments are not allowed.
Hello,
i am trying to change our code from EF4.0 to ORM
I have problem to found the correct way to replace the following EF Command:
var uncommitedJournals = DbContext.ObjectStateManager.GetObjectStateEntries(EntityState.Added).Where(ent => ent.Entity is Journal).Select(ent => ent.Entity as Journal);if (uncommitedJournals.Any()){ // there are unsaved journal entries // ...}What is the correct way to get the same functionality with ORM ?
thanks in advance for any Help