DataSourceCommandCreateEvaluateDataFilterCommand Method |
Returns new
DataSourceCommand which evaluates whether a row is matched by a data filter.
Namespace:
Aloe.SystemFrameworks.Domain.DataAccess
Assembly:
Aloe.SystemFrameworks.Domain (in Aloe.SystemFrameworks.Domain.dll) Version: 20.1.3.5
Syntaxpublic static DataSourceCommand CreateEvaluateDataFilterCommand(
string tableName,
Guid rowId,
string dataFilter,
string transactionName = "",
IBuffer buffer = null
)
Public Shared Function CreateEvaluateDataFilterCommand (
tableName As String,
rowId As Guid,
dataFilter As String,
Optional transactionName As String = "",
Optional buffer As IBuffer = Nothing
) As DataSourceCommand
public:
static DataSourceCommand^ CreateEvaluateDataFilterCommand(
String^ tableName,
Guid^ rowId,
String^ dataFilter,
String^ transactionName = L"",
IBuffer^ buffer = nullptr
)
static member CreateEvaluateDataFilterCommand :
tableName : string *
rowId : Guid *
dataFilter : string *
?transactionName : string *
?buffer : IBuffer
(* Defaults:
let _transactionName = defaultArg transactionName ""
let _buffer = defaultArg buffer null
*)
-> DataSourceCommand
Parameters
- tableName
- Type: SystemString
The name of the table, containing the row, which should be matched against the data filter. - rowId
- Type: SystemGuid
The id of the row, which should be matched against the data filter. - dataFilter
- Type: SystemString
The data filter used to check the specified row. - transactionName (Optional)
- Type: SystemString
Name of the transaction. - buffer (Optional)
- Type: Aloe.SystemFrameworks.Domain.DataAccessIBuffer
Optionally, the buffer containing the row to be matched. If this is null or the row is not found in the buffer, the row is loaded from the database.
Return Value
Type:
DataSourceCommand
The newly created
DataSourceCommand which could be used to evaluate the row against the filter. When the row is matched, the AdditionalData property contains "true".
See Also