Click or drag to resize

MapperFiltersGetFilter Method (GetFilterFlags)

Returns the complete filter by combining filters in the collection according to provided GetFilterFlags. In general GetFilter(GetFilterFlags, IMapper) is preferred as it has improved handlng for NamedFilters. For testing for filter existence HasFilter(GetFilterFlags, FilterFlags) is preferred.

Namespace:  NetQuarry.Data
Assembly:  EAP.Core (in EAP.Core.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax
public string GetFilter(
	GetFilterFlags flags
)

Parameters

flags
Type: NetQuarry.DataGetFilterFlags
Flags specifying which filter items to include. When zero, all items are included.

Return Value

Type: String
A string representing the complete filter from the collection (per flags).
Remarks
Duplicate clauses will not be included in the filter. Duplicate clauses in a filter used to cause disasterous performace on Oracle, but that may no longer be true. Also, Full-Text Search filtering will not be included because FTS filters have a null/empty Clause because FTS filtering is specified via the FullTextSearchValue property.
See Also