V3 CallRetrievalStoredProcedure metod missing from DataAccessAdapter

Posts   
 
    
Posts: 64
Joined: 30-Aug-2010
# Posted on: 02-Sep-2010 15:35:46   

Hello,

We intend to migrate our from Framework .Net 1.1 to Framework .Net 3.5. We were also using LLBLGen v1, and now we want to use LLBLGen v3. I have created a new project using LLBLGen v3 and added it to my Visual Studio Project.

However, there are some main things that are missing.

For exemple, in the DataAccessAdapter of the DatabaseSpecific, I could not find the method CallRetrievalStoredProcedure.

I don't know if it is related to this, but in LLBLGen v1, the project had 2 branches for the Stored Procedures: Retrival Stored Procedure Call & Action Stored Procedure Call. Now, in the LLBLGen v3, these 2 branches don't exist or I couldn't understand how to make them. Are they now all in the same place?

Could you please advise about the missing of the method CallRetrievalStoredProcedure and about the Retrival Stored Procedure Call & Action Stored Procedure Call?

Thank you

daelmo avatar
daelmo
Support Team
Posts: 8245
Joined: 28-Nov-2005
# Posted on: 02-Sep-2010 19:59:17   

Hi there,

Now you can use RetrievalProcedures and ActionProcedures classes that have specific calls for your existing stored procedures generated from your LLBLGen project. Read the docs for more info.

David Elizondo | LLBLGen Support Team
Posts: 64
Joined: 30-Aug-2010
# Posted on: 07-Sep-2010 17:13:36   

Hello, and thank you for the information.

I have came across to some others issues.

It seems that after the migration from LLBLGen v1 to v3, i cannot find some of the methodes and classes used before:

UnitOfWorkElement2Collection

UnitOfWorkElement2Collection enttoi = unit.GetEntityElementsToInsert(); UnitOfWorkElement2Collection enttou= unit.GetEntityElementsToUpdate(); UnitOfWorkElement2Collection entities=new UnitOfWorkElement2Collection(enttoi);

This piece of code returns also error: The type or namespace name 'UnitOfWorkElement2Collection' could not be found (are you missing a using directive or an assembly reference?) D:\ASTech2\astech.office\trunk\frmONG_SortiePCMo.cs 2575 17 ASTech.Office

Has this been replaced in the newer version of llbl 3?

MTrinder
User
Posts: 1461
Joined: 08-Oct-2008
# Posted on: 07-Sep-2010 21:41:53   

The GetEntityElementsToxxx methods now return a generic List<UnitOfWorkElement> rather than a specific collection.

Matt

Posts: 64
Joined: 30-Aug-2010
# Posted on: 08-Sep-2010 10:39:34   

Thank you It helped simple_smile