ITableOperationsGetSearchRestrictions Method

Generates a RecordRestriction based on recordFilters.

Definition

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