IBufferTableExtensionsFindOrLoadRowsByValueTValue Method |
Finds or loads from the data-source all rows, for which the specified column matches the specified values.
Namespace:
Aloe.SystemFrameworks.Domain.DataAccess
Assembly:
Aloe.SystemFrameworks.Domain (in Aloe.SystemFrameworks.Domain.dll) Version: 20.1.3.5
Syntaxpublic static IEnumerable<IBufferRow> FindOrLoadRowsByValue<TValue>(
this IBufferTable table,
string columnName,
IEnumerable<TValue> values
)
where TValue : Object, IEquatable<TValue>
<ExtensionAttribute>
Public Shared Function FindOrLoadRowsByValue(Of TValue As {Object, IEquatable(Of TValue)}) (
table As IBufferTable,
columnName As String,
values As IEnumerable(Of TValue)
) As IEnumerable(Of IBufferRow)
public:
[ExtensionAttribute]
generic<typename TValue>
where TValue : Object, IEquatable<TValue>
static IEnumerable<IBufferRow^>^ FindOrLoadRowsByValue(
IBufferTable^ table,
String^ columnName,
IEnumerable<TValue>^ values
)
[<ExtensionAttribute>]
static member FindOrLoadRowsByValue :
table : IBufferTable *
columnName : string *
values : IEnumerable<'TValue> -> IEnumerable<IBufferRow> when 'TValue : Object and IEquatable<'TValue>
Parameters
- table
- Type: Aloe.SystemFrameworks.Domain.DataAccessIBufferTable
The table. - columnName
- Type: SystemString
The name of the column. - values
- Type: System.Collections.GenericIEnumerableTValue
The values.
Type Parameters
- TValue
- The type of the value.
Return Value
Type:
IEnumerableIBufferRowThe rows.
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