Example of SPROC bound to datacontrol

Posts   
 
    
hchattaway
User
Posts: 38
Joined: 06-Apr-2006
# Posted on: 02-Nov-2006 18:50:11   

Hello

I am using the LLBLGenpro Data source control (Self-servicing). I have some SPROC's that I'd like to preserve and use them as the source of data for the control.

Is this bypassing the main benifits of using the LLBLGen control? If it makes sense to use it, are there any examples of using this approach? Have not seen how to do this...

Thanks Harold

Walaa avatar
Walaa
Support Team
Posts: 14995
Joined: 21-Aug-2005
# Posted on: 03-Nov-2006 07:53:22   

If you want to use the LLBLGenProDataSource control. Then refer to the LLBLGen Pro manual. First read this: "Using the generated code -> SelfServicing -> Calling a stored procedure" Then read the following section: Projecting Stored Procedure resultset onto entity collection under "Using the generated code -> SelfServicing -> Fetching DataReaders and projections"