Just one other thing...you did set the table properties to RowVersioning and provided the ROWVER field...correct?
I created a field name ROWVER as an INT and changed the options to use RowVersioning. Now it tells me that the sproc needs @ROWVER but its not provided.
Just add an integer field in your table. Open the table properties and indicate that you are going to use row versioning and provide the version field. (obviously deploy your structure).
Go to the CRUD settings on your BO and change the following properties:
UpdateConcurrencyType = OptimisticRowVersionRowVersionOrTimestampColumn = "YourRowVersionFieldName"
Rebuild and try this again and see if the error persists.
Here are my DDT settings
Database Deployment ToolkitHere is a table where I am allowing the DDT to create my stored procedures.
In this example, my table name is TestNames and you can see the default names that are generated. You can rename the stored procs, but if you do you will need to specify the procs names on the BO explicitly.
BO CRUD SettingsHere are the CRUD settings that are set within the property sheet of my business object.
In this scenario, this is all that needs to be done in order to properly update your table using a sproc. Notice that I did not specify the InsertStoredProcedureName or UpdateStoredProcedureName. The reason I could do this is because of the default naming schema expected when using the DDT. If the sprocs do not match the schema: TableName_Insert, TableName_Udpate, and tableName_Delete....then you will need to set the StoredProcedureName properties.