27 people following this project (follow)

Project Description

An Entity Framework project item to generate self-tracking entity classes for WPF and Silverlight applications.

The main features are:

  • Auto-generate IClientChangeTracking interface implementation for all entity classes that provide client-side change tracking through each entity object. The interface includes methods and properties such as AcceptChanges(), RejectChanges(), HasChanges and GetObjectGraphChanges() etc.
  • Auto-generate IDataErrorInfo interface implementation for all WPF entity classes and/or auto-generate INotifyDataErrorInfo interface implementation for all Silverlight entity classes.
  • Auto-generate Display and validation attributes created by Portable Extensible Metadata for Entity Framework, along with an infrastructure for adding custom validation logic through source code.
  • Optionally auto-generate ClientQuery class implementation for all entity classes that provides client-side LINQ queries for filtering, paging and sorting.
  • Optionally auto-generate IEditableObject interface implementation for all entity classes that provides functionality to commit or rollback changes to an object that is used as a data source.

 

System Requirements to Build Source Code

Supported Operating System:

  • Windows Vista SP2, Windows Server 2008 SP2, Windows 7 or Windows Server 2008 R2

Other Requirements:

  • Microsoft Visual Studio 2010 Professional SP1
  • Visual Studio 2010 SP1 SDK

 

System Requirements to Build Samples

Supported Operating System:

  • Windows Vista SP2, Windows Server 2008 SP2, Windows 7 or Windows Server 2008 R2
  • Windows XP SP3, or Windows Server 2003 R2 SP2 with special instructions

Other Requirements:

  • Microsoft Visual Studio 2010 Professional SP1

 

Change Log for version 1.1.0:

  • Added ClientQuery class implementation for all entity classes that provides client-side LINQ queries for filtering, paging and sorting.

Change Log for version 1.0.3:

  • Updated functions of the interface IClientChangeTracking, including ObjectGraphHasChanges(), EstimateObjectGraphSize(), EstimateObjectGraphChangeSize(), and GetObjectGraphChanges().

Change Log for version 1.0.2:

  • Added SuspendValidation to switch off validation temporarily.

Change Log for version 1.0.1:

  • Added support for Silverlight 5.

 

Please go to the documentation section for detailed explanation.

Last edited May 4 at 2:27 AM by WeidongShen, version 16