ITableOperationsGetSearchRestrictions Method

Generates a RecordRestriction based on recordFilters.

Definition

Namespace: Gemstone.Data.Model
Assembly: Gemstone.Data (in Gemstone.Data.dll) Version: 1.0.171 -- Release Build+09eddea1dde2c1898c071986897c26dec26592bc
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