zzz projects Entity Framework 6 EF 6
Home EF Core Articles Knowledge Base Online Examples
  • Home
  • EF Core
  • Articles
  • Knowledge Base
  • Online Examples

Entity Framework 6 - Knowledge Base (KB)

6 results in tag: change-tracking

First, determine what properties have changed in EF 4.1.

I'm using Entity Framework 4.1 Code First. Is there a built-in way to get a list of what properties have changed since the entity was loaded from the database? I know code first detects that an object was changed, but is there a way to get exactly what pr...
c# change-tracking code-first entity-framework
asked by Dylan Vester

Change tracking for many-to-many connections in Entity Framework 4.1+

How can I detect changes of ICollection<> properties (many-to-many relationships)?...public class Company { ... public virtual ICollection<Employee> Employees { get; set; } } using (DataContext context = new DataContext(Properties.Settings.Defau...
change-tracking entity-framework many-to-many
asked by Boris Mitchenko

Global setting for AsNoTracking()?

Originally I believed that ...context.Configuration.AutoDetectChangesEnabled = false; ...would disable change tracking. But no. Currently I need to use ...AsNoTracking()... on all my LINQ queries (for my read only layer). Is there a global se...
change-tracking entity-framework
asked by Vindberg

Use EF changetracker to manually get set of changes?

If I load up an entity, make some changes, and then go to save it, EF generates an update statement....This must mean that at some point something (presumably the change tracker) is navigating the loaded object hierarchy and generating a list of (entity, ...
c# change-tracking entity-framework
asked by George Mauer

Entity framework change tracking after calling ToList()

I am struggling to understand something with change tracking in EF6....I have code similar to this....public class SomeClass { private List<User> _users; private DAL _dal; public void ProcessUsers() { _users = _dal.GetUsers(); ...
c# change-tracking entity-framework entity-framework-6
asked by D3vy

Excluding properties from update instead of updating whole object

I am using ASP.NET Boilerplate with Code-First Entity Framework 6 and MVC 5....In order to update an entity, I am using ...UpdateAsync.......How can I exclude some properties from the entity before executing update?...What function should I use and is thi...
asp.net-mvc-5 aspnetboilerplate c# change-tracking entity-framework-6
asked by oula alshiekh

Page 1 of 1
  • 1

Prime Library

Performance

  • Entity Framework Extensions
  • Entity Framework Classic
  • Bulk Operations
  • Dapper Plus

Expression Evaluator

  • C# Eval Expression
  • SQL Eval Function
More Projects...

Related

  • EF Extensions Online Benchmark
  • WIN an EF Extensions license
  • EF6 BatchSaveChanges for only $79
Save your entities 20× faster with EF Extensions
SaveChanges vs BulkSaveChanges

EF Extensions
Try for free now
Get monthly updates by subscribing to our newsletter!
SUBSCRIBE!