Class DialogExpressionCondition
- Namespace
- DocuWare.Platform.ServerClient
- Assembly
- DocuWare.Platform.ServerClient.dll
Condition for specific database name (field)
public class DialogExpressionCondition
- Inheritance
-
DialogExpressionCondition
- Derived
- Inherited Members
Properties
ColumnName
Used when DBName is a table field. Gets or sets the column's database name which provides the value checked against the condition.
public string ColumnName { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
DBName
Gets or sets the database name which provides the value checked against the condition. In case this is a table field ColumnName is expected to have proper name for table field column.
public string DBName { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Value
Specifies the value or the expression of the dialog field.
public List<string> Value { get; set; }
Property Value
| Type | Description |
|---|---|
| List<string> |
Remarks
If a single value is specified then a exact search (or wild card search) is performed.
Methods
Create(string, string)
Creates a condition for an exact search at the specified field.
public static DialogExpressionCondition Create(string fieldName, string value)
Parameters
| Type | Name | Description |
|---|---|---|
| string | fieldName | Name of the field. |
| string | value | The value. |
Returns
| Type | Description |
|---|---|
| DialogExpressionCondition | The condition. |
Create(string, string, string)
Creates a condition for a range search at the specified field.
public static DialogExpressionCondition Create(string fieldName, string valueFrom, string valueTo)
Parameters
| Type | Name | Description |
|---|---|---|
| string | fieldName | Name of the field. |
| string | valueFrom | The value from. |
| string | valueTo | The value automatic. |
Returns
| Type | Description |
|---|---|
| DialogExpressionCondition | The condition. |