IT:AD:EF:ModelFirst
Summary
Benefits / Considerations
* Benefits: * Considerations:
- IT:AD:Code First offers more options to private set; and use logic than anything available via STE and T4.
Self Tracking Entities (STEs)
- Benefits:
- More productive than POCOs… * Considerations:
- But in general, both ends have to be .NET (as the STE's change tracking internals are not serialized).
See: Self Tracking EF4 Entities over WCF
STE's created by the T4 templates create entities that implement 2 contracts:
- IObjectWithChangeTracker
- Defined inside the T4 Template.
- INotifyPropertyChanged
- Defined in .NET 3.5 onwards (although changed directory).