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