public override bool ExecuteTQuery(TQuery tQuery) { cmd = Connection.GetConnection().CreateCommand(); try { Connection.GetConnection().Open(); cmd.CommandText = tQuery.toString(); cmd.ExecuteNonQuery(); } catch (Exception ex) { throw new Exception("Unable to create table", ex.InnerException); } finally { //Connection.Close(); cmd.Dispose(); } return(true); }