ITableOperationsGetSearchRestrictions Method

Generates a RecordRestriction based on recordFilters.

Definition

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