IBufferTableExtensionsFindOrLoadRowByValueTValue Method (IBufferTable, IBufferColumn, TValue) |
Finds or loads from the data-source the first row, for which the specified column matches the specified value.
Namespace:
Aloe.SystemFrameworks.Domain.DataAccess
Assembly:
Aloe.SystemFrameworks.Domain (in Aloe.SystemFrameworks.Domain.dll) Version: 20.1.3.5
Syntaxpublic static IBufferRow FindOrLoadRowByValue<TValue>(
this IBufferTable table,
IBufferColumn column,
TValue value
)
where TValue : Object, IEquatable<TValue>
<ExtensionAttribute>
Public Shared Function FindOrLoadRowByValue(Of TValue As {Object, IEquatable(Of TValue)}) (
table As IBufferTable,
column As IBufferColumn,
value As TValue
) As IBufferRow
public:
[ExtensionAttribute]
generic<typename TValue>
where TValue : Object, IEquatable<TValue>
static IBufferRow^ FindOrLoadRowByValue(
IBufferTable^ table,
IBufferColumn^ column,
TValue value
)
[<ExtensionAttribute>]
static member FindOrLoadRowByValue :
table : IBufferTable *
column : IBufferColumn *
value : 'TValue -> IBufferRow when 'TValue : Object and IEquatable<'TValue>
Parameters
- table
- Type: Aloe.SystemFrameworks.Domain.DataAccessIBufferTable
The table. - column
- Type: Aloe.SystemFrameworks.Domain.DataAccessIBufferColumn
The column. - value
- Type: TValue
The value.
Type Parameters
- TValue
- The type of the value.
Return Value
Type:
IBufferRowThe row.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
IBufferTable. 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).
Exceptions
See Also