Click or drag to resize

TableOperationsTIsSearchMatch(T, String) Method

Determines if any record fields modeled with the SearchableAttribute match any of the specified searchValues.

Namespace: GSF.Data.Model
Assembly: GSF.Core (in GSF.Core.dll) Version: 2.4.181-beta
Syntax
public bool IsSearchMatch(
	T record,
	params string[] searchValues
)
View Source

Parameters

record  T
Modeled table record.
searchValues  String
Values to search.

Return Value

Boolean
true if any record fields modeled with SearchableAttribute match any of the specified searchValues; otherwise, false.
Remarks
String comparisons will be ordinal ignoring case.
See Also