Click or drag to resize

SearchableAttribute(SearchType) Constructor

Creates a new SearchableAttribute with specified searchType.

Namespace: GSF.Data.Model
Assembly: GSF.Core (in GSF.Core.dll) Version: 2.4.205-beta+5ef4169f3b1079d8b163dd363614f656bd140924
Syntax
public SearchableAttribute(
	SearchType searchType
)
View Source

Parameters

searchType  SearchType
Type of search that should be used for field queried.
Remarks
Database query functions executed against modeled fields marked with both SearchableAttribute and EncryptDataAttribute will only be searched using FullValueMatch, regardless of specified searchType as encryption is handled locally by instances of the TableOperationsT. However, the SearchRecords(String, Boolean, String, StringComparison) function can be used to find data in encrypted fields that are marked for search with a LikeExpression.
See Also