Apache.Cassandra.Cassandra.truncate_args.Write(TProtocol)

Here are the examples of the csharp api class Apache.Cassandra.Cassandra.truncate_args.Write(TProtocol) taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.

1 Example 7

1. Example

Project: cassandra-sharp
Source File: Cassandra.cs
public void send_truncate(string cfname)
      #endif
      {
        oprot_.WriteMessageBegin(new TMessage("truncate", TMessageType.Call, seqid_));
        truncate_args args = new truncate_args();
        args.Cfname = cfname;
        args.Write(oprot_);
        oprot_.WriteMessageEnd();
        #if SILVERLIGHT
        return oprot_.Transport.BeginFlush(callback, state);
        #else
        oprot_.Transport.Flush();
        #endif
      }