Group: StrataFrame Developers
Posts: 3K,
Visits: 2.5K
|
Looks like it's trying to insert a value into the PK field because you might still have the PrimaryKeyIsAutoIncremented = False set. Set it back to its default of True and you should be able to save it fine. The Db2DataSourceItem is designed to work with auto-incremented columns the same way as SQL Server, it just uses a different server function to retrieve the next assigned value (where SQL Server uses SCOPE_IDENTITY()). So, it should be working. Re-set that field back to True to get back to ground-zero for this post, where you got the InvalidCastException and we'll go from there.
|