ITableOperationsGetSearchRestrictions Method

Generates a RecordRestriction based on recordFilters.

Definition

Namespace: Gemstone.Data.Model
Assembly: Gemstone.Data (in Gemstone.Data.dll) Version: 1.0.128 -- Release Build+cb657b646daac3e9cc5384ff42ed4530df50eab1
RecordRestriction[]? GetSearchRestrictions(
	params IRecordFilter?[]? recordFilters
)

Parameters

recordFilters  IRecordFilter
IRecordFilter to search.

Return Value

RecordRestriction
RecordRestriction based on fields marked with SearchableAttribute, Property Names and specified recordFilters.

Remarks

Any fields marked with EncryptDataAttribute will be automatically managed, i.e., the returned RecordRestriction parameters will already apply any field based encryption as needed. Database query functions executed for fields marked for encryption will only be searched using = and =/= , regardless of any otherwise specified value in the IRecordFilter as encryption is handled locally. However, the SearchRecords(String, Boolean, StringComparison, IRecordFilter) function can be used to find data in encrypted fields that are marked for search with other limits.

See Also