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.207-beta+1781b796b2aa7a54013a031eb432fe4ccee31867
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