1.0.0.9

Rating: No reviews yet
Downloads: 0
Released: Feb 21, 2013
Updated: Feb 21, 2013 by MMMicha
Dev status: Stable Help Icon

Available Downloads

There are no downloads associated with this release.

Release Notes

Releases are maintained with NuGet

To download System.Data.Entity.Repository use NuGet within visual studio and search for "System.Data.Entity.Repository" in the official NuGet packages.
Updates will be available trough NuGet.

New Features:
  • Added the UpdateProperty<R, T> method. This methods only updates one property of the entity and generates the right SQL. Normally if you use the Update<T> method all fields of an entity will be updated in the generated SQL, even if the property hasn't changed. The Update<T> method expects you to load the entity (get) first and than update some properties. The new Update<R, T> method can handle Entity stubs. This means that you can create a customer stub like this: Customer stub = new Customer {CustomerID = 1}; stub.LastCreated = DateTime.Now; UpdateProperty<Customer, DateTime>(stub, x => x.LastCreated);
This results in very compact SQL. You don't have to load the customer first. Only the LastCreated property gets updated where CustomerID = 1.

Bugs:
  • None

Reviews for this release

No reviews yet for this release.