Esempio n. 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);
        }
Esempio n. 2
0
 /// <summary>
 /// Delete the table from the keyspace.
 /// </summary>
 public void DeleteTable()
 {
     _keyspace.RemoveTable(this);
     _keyspace.ExecuteNoBatch(new SimpleStatement("DROP TABLE " + Name.ToLowercase()));
     _initialize = true;
 }