Table of Contents

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

TypeDescription
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

TypeDescription
string

Value

Specifies the value or the expression of the dialog field.

public List<string> Value { get; set; }

Property Value

TypeDescription
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

TypeNameDescription
stringfieldName

Name of the field.

stringvalue

The value.

Returns

TypeDescription
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

TypeNameDescription
stringfieldName

Name of the field.

stringvalueFrom

The value from.

stringvalueTo

The value automatic.

Returns

TypeDescription
DialogExpressionCondition

The condition.