Class DialogExpressionCondition
Condition for specific database name (field)
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: DocuWare.Platform.ServerClient
Assembly: DocuWare.Platform.ServerClient.dll
Syntax
public class DialogExpressionCondition
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.
Declaration
public string ColumnName { get; set; }
Property Value
Type | Description |
---|---|
System.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.
Declaration
public string DBName { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Value
Specifies the value or the expression of the dialog field.
Declaration
public List<string> Value { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<System.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.
Declaration
public static DialogExpressionCondition Create(string fieldName, string value)
Parameters
Type | Name | Description |
---|---|---|
System.String | fieldName | Name of the field. |
System.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.
Declaration
public static DialogExpressionCondition Create(string fieldName, string valueFrom, string valueTo)
Parameters
Type | Name | Description |
---|---|---|
System.String | fieldName | Name of the field. |
System.String | valueFrom | The value from. |
System.String | valueTo | The value automatic. |
Returns
Type | Description |
---|---|
DialogExpressionCondition | The condition. |