Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Getting values back from Output parameters
Message
From
07/05/2009 11:45:31
 
General information
Forum:
ASP.NET
Category:
ADO.NET
Environment versions
Environment:
C# 3.0
OS:
Windows XP
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01398353
Message ID:
01398390
Views:
43
This message has been marked as a message which has helped to the initial question of the thread.
You assign the FK to the details with the PK you just generated in your code. Same way as for the assignment of the PK.

How do you pass informations between your layers? With the dataset? If it's the case, then you don't need extra public properties in your BL, the PK and FK are accessible in the dataset.

>BTW, how should I reference this PK when I add records to the details? Should I save both ID and PK in public properties of the BL?
Previous
Reply
Map
View

Click here to load this message in the networking platform