Architectural considerations
- Know what tiers are needed and why
- Consider service operations and Payload Types.
Concurrency mode property of entity field used to checking changed data. EF enables separate DAL business objects layers but less coding. T4 is a templating engine that comes with VS to auto generate code. Will need to download “ado 4.0 EF code generating template” T4 makes custom code generation easy. Register SavingChnages event handler during context constructions. Avoid modifying other entities in OnValidate. You can create a fake implentation of you data, so you are not mucking about the DB. Make a mental model of a repository as in memory collection. Decouples data from DB. Make some assumptions, you mark all properties changed not just 1, and concurrency value is from first read.
Wednesday, May 13, 2009
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment