Best practises document on using LLBLGen

Posts   
 
    
Posts: 254
Joined: 16-Nov-2006
# Posted on: 14-Mar-2007 10:49:59   

Guys,

Has anyone created one of these they'd like to share with everyone?

I would like to build one for our team to ensure everyone is following a consistent pattern when using LLBLGen generated code.

Obviously there are a wide variety of ways of doing certain things with the framework but some are obviously preferable than others. The document obviously shouldn't re generate documentation already covered however it should just focus on showing a consistent style.

I realise this would be slightly different for everyone however there are usually common patterns here which are best practise which I think can be documented.

Walaa avatar
Walaa
Support Team
Posts: 14995
Joined: 21-Aug-2005
# Posted on: 14-Mar-2007 13:30:20   

My first suggestion for best practicies is:

To display fields from different entities, use a TypedList or a DynamicList rather than using an entityCollection with fields mapped on related entities. Especially if the resultset is going to be used in a read-only fashion, or is going to be used in a Web application.