Example #1
0
 public void Append(CqlCommand cqlCommand)
 {
     if (cqlCommand.GetTable().GetTableType() == TableType.Counter)
         _batchType = "COUNTER ";
     _batchScript.Append(cqlCommand.ToString());
     _batchScript.AppendLine(";");
 }
Example #2
0
 public override void Append(CqlCommand cqlCommand)
 {
     if (cqlCommand.GetTable().GetTableType() == TableType.Counter)
         _batchType = BatchType.Counter;
     _batchScript.Append(cqlCommand);
     _batchScript.AppendLine(";");
 }
Example #3
0
 internal CqlConditionalCommand(CqlCommand origin, MapperFactory mapperFactory)
     : base(origin.Expression, origin.Table, origin.StatementFactory, origin.PocoData)
 {
     _mapperFactory = mapperFactory;
     _origin        = origin;
     //Copy the Statement properties from origin
     _origin.CopyQueryPropertiesTo(this);
 }
Example #4
0
 public override void Append(CqlCommand cqlCommand)
 {
     if (cqlCommand.GetTable().GetTableType() == TableType.Counter)
     {
         _batchType = BatchType.Counter;
     }
     _batchScript.Add(cqlCommand);
 }
Example #5
0
 public override void Append(CqlCommand cqlCommand)
 {
     if (cqlCommand.GetTable().GetTableType() == TableType.Counter)
     {
         _batchType = BatchType.Counter;
     }
     _batchScript.Add(cqlCommand);
 }
Example #6
0
 public void Append(CqlCommand cqlCommand)
 {
     if (cqlCommand.GetTable().GetTableType() == TableType.Counter)
     {
         _batchType = "COUNTER ";
     }
     _batchScript.AppendLine(cqlCommand.GetCql());
 }
Example #7
0
 public abstract void Append(CqlCommand cqlCommand);
Example #8
0
 public void AppendCommand(CqlCommand cqlCommand)
 {
     _additionalCommands.Add(cqlCommand);
 }
Example #9
0
 public abstract void Append(CqlCommand cqlCommand);
Example #10
0
 public void Append(CqlCommand cqlCommand)
 {
     _commands.Add(cqlCommand);
 }