Click or drag to resize

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
Syntax
public static DataSourceCommand CreateEvaluateDataFilterCommand(
	string tableName,
	Guid rowId,
	string dataFilter,
	string transactionName = "",
	IBuffer buffer = null
)

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