Looking for best practices using with model first approach (data mapper pattern) when intergrating with WPF/.NET application?

Posts   
 
    
pphari
User
Posts: 10
Joined: 09-Dec-2010
# Posted on: 09-Dec-2010 00:23:02   

I'm working on a .NET server application which is using with LLBLgen Pro and there is a client WPF application which uses some of the shared business classes (between server and client)to display data from the database. I would prefer not to have dependency with ORM on the client WPF application. so I have created classes which mappes to the enttiy classes, looks like I have to do the manual mapping of the fields. so I'm looking for

  • Best practices and approaches for using model first approach and integrating generated ORM classes into a WPF/.NET application.
  • Is there a way the LLBLGen pro designer can generate pure C# class that mapped to a entity class (using Data Mapper pattern) ?

appreciate any help on above:

-Hari

MTrinder
User
Posts: 1461
Joined: 08-Oct-2008
# Posted on: 09-Dec-2010 17:02:31   

There are several sets of DTO (data transfer object) templates available - a search of the forums should turn them up. You can also develop your own templates if needed.

Matt