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.245-beta+94213ae9d4d0aa7a2c48e5398b12d267b99f868a
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