/// <summary> Custom contructor. Uses the default Type, AndOr and ArgumentOperator. </summary> /// <param name="Column"> Parameter Column. </param> /// <param name="Value"> Parameter Value. </param> /// <example> ArgumentType("Username", "ziggo"); </example> public ArgumentType(string Column, string Value) { this.Column = Column; this.Value = Value; this.Type = DefaultType; AndOr = AndOr.OR; ArgsOp = ArgumentOperator.EQUEL; }
/// <summary> Custom contructor. Uses the default ArgumentOperator. </summary> /// <param name="Column"> Parameter Column. </param> /// <param name="Value"> Parameter Value. </param> /// <param name="Type"> Parameter Type. </param> /// <param name="AndOr"> Parameter AndOr. Chooses between AND or OR in your query. </param> /// <example> ArgumentType("Username", "ziggo", typeof(string), AndOr.OR); </example> public ArgumentType(string Column, string Value, Type Type, AndOr AndOr) { this.Column = Column; this.Value = Value; this.Type = Type; this.AndOr = AndOr; this.ArgsOp = ArgumentOperator.EQUEL; }
/// <summary> Default contructor. Uses the default Column, Value, Type, AndOr and ArgumentOperator. </summary> public ArgumentType() { Column = DefaultColumn; Value = DefaultValue; Type = DefaultType; AndOr = AndOr.OR; ArgsOp = ArgumentOperator.EQUEL; }