DBEntityEntry enables you to access entity state, current, and original values of all the property of a given entity. DBEntityEntry studentEntry = dbcontext.Entry(StudentEntity); studentEntry.Reload(); // reload entity from DB, discard in-memory changes.. Or mark an entry as modified manually – (ready to update db on save) studentEntry.State = System.Data.Entity.EntityState.Modified; EF Change Tracking (CT): ## How many entries are […]
Category: Uncategorized
C# 7.0 Language Features
New Features in C# 7.0 Very good but lengthy article. But with examples, hence simple. C# 6.0 Language features New Features in C# 6 c# 5.0 features https://blogs.msdn.microsoft.com/mvpawardprogram/2012/03/26/an-introduction-to-new-features-in-c-5-0/
Hello world!
Welcome to WordPress. This is your first post. Edit or delete it, then start writing!