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.297-beta+c4c8a839e939f7741977e6b01208d8a074273105
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