IBufferTableExtensionsFindRowByValueTValue Method (IBufferTable, String, TValue) |
Finds and returns 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 FindRowByValue<TValue>(
this IBufferTable table,
string columnName,
TValue value
)
where TValue : Object, IEquatable<TValue>
<ExtensionAttribute>
Public Shared Function FindRowByValue(Of TValue As {Object, IEquatable(Of TValue)}) (
table As IBufferTable,
columnName As String,
value As TValue
) As IBufferRow
public:
[ExtensionAttribute]
generic<typename TValue>
where TValue : Object, IEquatable<TValue>
static IBufferRow^ FindRowByValue(
IBufferTable^ table,
String^ columnName,
TValue value
)
[<ExtensionAttribute>]
static member FindRowByValue :
table : IBufferTable *
columnName : string *
value : 'TValue -> IBufferRow when 'TValue : Object and IEquatable<'TValue>
Parameters
- table
- Type: Aloe.SystemFrameworks.Domain.DataAccessIBufferTable
The table. - columnName
- Type: SystemString
The name of the column, which will be searched. - value
- Type: TValue
The value to search for.
Type Parameters
- TValue
- The type of the value.
Return Value
Type:
IBufferRowThe row with the column matching the value or null if no such row is found.
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).
See Also