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.218-beta+101eee949414e414795e55a6e73d88938f0177b8
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