Custom BL manager classes and LLBLGenProDataSource2

Posts   
 
    
wrda123
User
Posts: 1
Joined: 09-Feb-2007
# Posted on: 09-Feb-2007 13:24:33   

Hi

What is proposed method of using LLBLGenProDataSource2 with custom BL "manager style" classes?

To be more precise, am I to use LLBLGenProDataSource2 as a layer between custom BL manager classes and GUI when using data-bound ASP.NET 2.0 controls (GridView, etc.).

I have custom BL class (manager) which outputs entity collections taking in consider several business rules (like access rights stored outside of database, etc).

I want to bind these collections to ASP.NET 2.0 controls, and standard way of using LLBLGenProDataSource2 with "out of the box" LLBL Factory classes does not take in consider additional business rules (because they are implemented in my own BL manager classes).

thnx in advance

Walaa avatar
Walaa
Support Team
Posts: 14983
Joined: 21-Aug-2005
# Posted on: 09-Feb-2007 17:29:01   

Use LLBLGenProDataSource2 with the LivePersistance turned off.

Please check the section "LivePersistence and events" in the LLBLGen Pro manual, under: "Using the generated code -> Adapter -> Databinding at design time and at runtime -> Databinding with ASP.NET 2.0"