[This is preliminary documentation and is subject to change.]
Async version - loads one row cast per Query(T) or null
Namespace: NFXAssembly: NFX (in NFX.dll) Version: 3.0.0.1 (3.0.0.1)
public static Task<TRow> LoadRowAsync<TRow>(
this ICRUDOperations operations,
Query<TRow> query
)
where TRow : Row
public static Task<TRow> LoadRowAsync<TRow>(
this ICRUDOperations operations,
Query<TRow> query
)
where TRow : Row
<ExtensionAttribute>
Public Shared Function LoadRowAsync(Of TRow As Row) (
operations As ICRUDOperations,
query As Query(Of TRow)
) As Task(Of TRow)
<ExtensionAttribute>
Public Shared Function LoadRowAsync(Of TRow As Row) (
operations As ICRUDOperations,
query As Query(Of TRow)
) As Task(Of TRow)
public:
[ExtensionAttribute]
generic<typename TRow>
where TRow : Row
static Task<TRow>^ LoadRowAsync(
ICRUDOperations^ operations,
Query<TRow>^ query
)
public:
[ExtensionAttribute]
generic<typename TRow>
where TRow : Row
static Task<TRow>^ LoadRowAsync(
ICRUDOperations^ operations,
Query<TRow>^ query
)
static member LoadRowAsync :
operations : ICRUDOperations *
query : Query<'TRow> -> Task<'TRow> when 'TRow : Row
static member LoadRowAsync :
operations : ICRUDOperations *
query : Query<'TRow> -> Task<'TRow> when 'TRow : Row
- TRow
Return Value
Type:
Task TRow Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
ICRUDOperations. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).