Stored procedure call

Posts   
 
    
hommels
User
Posts: 23
Joined: 01-Jul-2005
# Posted on: 22-Jul-2005 15:19:48   

What is the equivalent adapter code for this self servicing code

int EmailsToSend = ( copySupport ) ? 2 : 1; int Sequence = 0; ActionProcedures.PGetSequence( "Email", EmailsToSend, ref Sequence );

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39933
Joined: 17-Aug-2003
# Posted on: 22-Jul-2005 16:39:04   

The same.

Did you try it yourself?

Frans Bouma | Lead developer LLBLGen Pro
hommels
User
Posts: 23
Joined: 01-Jul-2005
# Posted on: 22-Jul-2005 16:42:03   

It throws an error "The key 'Main.ConnectionString' does not exist in the appSettings configuration section."

hommels
User
Posts: 23
Joined: 01-Jul-2005
# Posted on: 22-Jul-2005 17:44:38   

last message did not show up yellow for you to see

It throws an error "The key 'Main.ConnectionString' does not exist in the appSettings configuration section."

jeffreygg
User
Posts: 805
Joined: 26-Oct-2003
# Posted on: 22-Jul-2005 18:29:55   

hommels wrote:

last message did not show up yellow for you to see

It throws an error "The key 'Main.ConnectionString' does not exist in the appSettings configuration section."

Make sure you've got the app.config file available to the calling assembly/executable.

Jeff...

Fishy avatar
Fishy
User
Posts: 392
Joined: 15-Apr-2004
# Posted on: 22-Jul-2005 18:29:57   

hommels wrote:

last message did not show up yellow for you to see

It throws an error "The key 'Main.ConnectionString' does not exist in the appSettings configuration section."

Did you copy the app.config settings from your llbl project to your project?

(edit) simple_smile Jeff, you won!

jeffreygg
User
Posts: 805
Joined: 26-Oct-2003
# Posted on: 22-Jul-2005 19:22:51   

Photo finish! (2 seconds) smile

Jeff...

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39933
Joined: 17-Aug-2003
# Posted on: 22-Jul-2005 19:29:37   

heh smile

Indeed, appconfig. Both 10 points! simple_smile

Frans Bouma | Lead developer LLBLGen Pro