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.249-beta+56964f8aed6f3f2e54faec1539f7ce0ba6548fdf
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