Updates an existing record with the specified existing primary keys in the database table. The primary keys can be changed to new values.
Class: YetaWF.DataProvider.PostgreSQL.SQLSimpleObjectBase<KEYTYPE,KEYTYPE2,OBJTYPE>
Namespace: YetaWF.DataProvider.PostgreSQL
Assembly: YetaWF.DataProvider.PostgreSQL
public Task<YetaWF.Core.DataProvider.UpdateStatusEnum> UpdateAsync( KEYTYPE origKey, KEYTYPE newKey, OBJTYPE obj ); public Task<YetaWF.Core.DataProvider.UpdateStatusEnum> UpdateAsync( KEYTYPE origKey, KEYTYPE2? origKey2, KEYTYPE newKey, KEYTYPE2? newKey2, OBJTYPE obj );
origKey
The original primary key value of the record.
newKey
The new primary key value of the record. This may be the same value as origKey.
obj
The object being updated.
origKey2
The original secondary key value of the record.
newKey2
The new secondary key value of the record. This may be the same value as origKey2.
Returns a status indicator.
See Also YetaWF.DataProvider.PostgreSQL.SQLSimpleObjectBase<KEYTYPE,KEYTYPE2,OBJTYPE> ClassYetaWF.DataProvider.PostgreSQLYetaWF.Core
Documentation Feedback
© 2024 - Softel vdm, Inc. - YetaWF.com