/// <summary>
 /// Add a data parameter.
 /// </summary>
 public void AddColumnModification( InlineDbCommandColumnValue columnModification )
 {
     columnModifications.Add( columnModification );
 }
示例#2
0
 /// <summary>
 /// Add a data parameter.
 /// </summary>
 public void AddColumnModification(InlineDbCommandColumnValue columnModification)
 {
     columnModifications.Add(columnModification);
 }
        // IMPORTANT: If we implement Not Equals in this class, then it is extremely important that we modify the generated code to not use the value of the Not Equals condition
        // to initialize mod object data.

        /// <summary>
        /// Use at your own risk.
        /// </summary>
        public EqualityCondition(InlineDbCommandColumnValue columnValue) => this.columnValue = columnValue;
 // IMPORTANT: If we implement Not Equals in this class, then it is extremely important that we modify the generated code to not use the value of the Not Equals condition
 // to initialize mod object data.
 /// <summary>
 /// EWL use only.
 /// </summary>
 public EqualityCondition( InlineDbCommandColumnValue columnValue )
 {
     this.columnValue = columnValue;
 }
 /// <summary>
 /// ISU use only. Expression will read "valueInDatabase op columnValue".
 /// So new InequalityCondition( Operator.GreaterThan, columnValue ) will turn into "columnName > @columnValue".
 /// </summary>
 public InequalityCondition(Operator op, InlineDbCommandColumnValue columnValue)
 {
     this.op          = op;
     this.columnValue = columnValue;
 }
 /// <summary>
 /// ISU use only. Expression will read "valueInDatabase op columnValue".
 /// So new InequalityCondition( Operator.GreaterThan, columnValue ) will turn into "columnName > @columnValue".
 /// </summary>
 public InequalityCondition( Operator op, InlineDbCommandColumnValue columnValue )
 {
     this.op = op;
     this.columnValue = columnValue;
 }