Namespace - LJCDBMessage
Syntax
C# |
public class DbConditionSet
|
Represents the conditions and properties.
(E)
Constructor
#ctor
|
Initializes an object instance. |
#ctor
|
The Copy constructor. |
Data
Clone
|
Creates and returns a clone of the object. |
3 Methods
Properties
Example
C# |
using LJCDBMessage;
DbFilter dbFilter = new DbFilter();
DbConditionSet conditionSet = dbFilter.ConditionSet;
conditionSet.BooleanOperator = "and";
DbConditions conditions = conditionSet.Conditions;
conditions.Add("Street", "'First Street'", "=");
conditions.Add("City", "'Lake Mary'");
conditions.Add("PostalCode", "'32746'");
DbFilter secondFilter = new DbFilter
{
BooleanOperator = "or"
};
DbConditions secondConditions = secondFilter.ConditionSet.Conditions;
secondConditions.Add("Street", "'Somewhere%'", "like");
dbFilters.Add(secondFilter);
|
Copyright © Lester J. Clark and Contributors.
Licensed under the MIT License.