YetaWF.DataProvider.File Package Documentation

Display
Print

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

Retrieves the record with the specified primary key.

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

Syntax

public Task<OBJTYPE> GetAsync( KEYTYPE key );

Parameters

key

The primary key.

Return Value

Returns the record with the specified primary key, or null if there is no record with the specified primary key. Other errors cause an exception.

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