Group: StrataFrame Developers
Posts: 3K,
Visits: 2.5K
|
You'll need to set your PrimaryKeyIsAutoIncremented property to True. This tells the DAL to consider the PK to be an output parameter and retrieve it after the record is inserted. You have to be using stored procedures to do a server assigned GUID PK that is auto-retrieved (so you're good to go). Also, if you want to remove your NULLIF(@CustomerID, '00000000-0000-0000-0000-000000000000'), you can set the Me.CustomerID = DBNull.Value in the SetDefaultValues() of the business object.
|