This question is locked. New answers and comments are not allowed.
Dear Ladies and Gentlemen,
Right now I use self made DAL which uses DataTables.
I map the DataTables to a Business Entity and the Business Entity will be maped to DTOs.
Thoese DTOs are exposed by WCF Services.
The WPF / Silverlight Client application (MVVM) maps the DTO to a light business class. (IDataErrorInfo, INotifypropertyChanged, IEditableObject.)
When a model is updated by the user, the object goes the same way back to the database.
Now I like to change the DAL. Insead of the DataTables I like to use your ORM Mapper.
Do you have an example, of:
* Map the entities to DTOs.
* Expose the DTOs via WCF.
* Validation (of entity properties)
* Change Tracking
Thank you,
Manuel
Right now I use self made DAL which uses DataTables.
I map the DataTables to a Business Entity and the Business Entity will be maped to DTOs.
Thoese DTOs are exposed by WCF Services.
The WPF / Silverlight Client application (MVVM) maps the DTO to a light business class. (IDataErrorInfo, INotifypropertyChanged, IEditableObject.)
When a model is updated by the user, the object goes the same way back to the database.
Now I like to change the DAL. Insead of the DataTables I like to use your ORM Mapper.
Do you have an example, of:
* Map the entities to DTOs.
* Expose the DTOs via WCF.
* Validation (of entity properties)
* Change Tracking
Thank you,
Manuel