it:ad:ef:modefirst

IT:AD:EF:ModelFirst

Summary

* Benefits: * Considerations:

  • IT:AD:Code First offers more options to private set; and use logic than anything available via STE and T4.
  • 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).
  • /home/skysigal/public_html/data/pages/it/ad/ef/modefirst.txt
  • Last modified: 2023/11/04 03:23
  • by 127.0.0.1