Class SearchPattern
Search pattern of role table.
角色表格的搜索模式。
Inheritance
System.Object
SearchPattern
Namespace: Votanic.vNet.Database
Assembly: Votanic.vNet.dll
Syntax
public class SearchPattern
Constructors
SearchPattern(Object, Comparison, Object, Boolean)
Add a search pattern.
新增一個搜索模式。
Declaration
public SearchPattern(object key, Comparison comparison, object keyword, bool caseSensitive = false)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Object | key | Attribute name of table |
| Comparison | comparison | The comparison method of data |
| System.Object | keyword | Keyword |
| System.Boolean | caseSensitive | Check capital or not |
Fields
caseSensitive
Check capital or not.
是否檢查大小寫。
Declaration
public bool caseSensitive
Field Value
| Type | Description |
|---|---|
| System.Boolean |
comparison
The comparison method of data.
數據比較方法。
Declaration
public Comparison comparison
Field Value
| Type | Description |
|---|---|
| Comparison |
key
Attribute name of table.
表格屬性名稱。
Declaration
public object key
Field Value
| Type | Description |
|---|---|
| System.Object |
keyword
Keyword.
關鍵字。
Declaration
public object keyword
Field Value
| Type | Description |
|---|---|
| System.Object |