예제 #1
0
        /// <summary>
        /// Execute the query synchronously with no return value.
        /// </summary>
        public void ExecuteNoBatch()
        {
            // construct and bind values to the query statement
            Statement statement = Bind();

            // execute the statement
            Keyspace.ExecuteNoBatch(statement);
        }
예제 #2
0
파일: Table.cs 프로젝트: flippynips/EFZ
 /// <summary>
 /// Delete the table from the keyspace.
 /// </summary>
 public void DeleteTable()
 {
     _keyspace.RemoveTable(this);
     _keyspace.ExecuteNoBatch(new SimpleStatement("DROP TABLE " + Name.ToLowercase()));
     _initialize = true;
 }