YetaWF.DataProvider.File Package Documentation

Display
Print

YetaWF.DataProvider.FileDataProvider<KEYTYPE,OBJTYPE>.UpdateAsync Method

Updates an existing record with the specified primary key.

Class: YetaWF.DataProvider.FileDataProvider<KEYTYPE,OBJTYPE>
Namespace: YetaWF.DataProvider
Assembly: YetaWF.DataProvider.File

Syntax

public Task<YetaWF.Core.DataProvider.UpdateStatusEnum> UpdateAsync(
    KEYTYPE origKey,
    KEYTYPE newKey,
    OBJTYPE obj );

Parameters

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 record data with the new information.

Return Value

Returns a status indicator.

See Also YetaWF.DataProvider.FileDataProvider<KEYTYPE,OBJTYPE> ClassYetaWF.DataProvider.FileYetaWF.Core