ITableOperationsGetSearchRestrictions Method

Generates a RecordRestriction based on recordFilters.

Definition

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