public IList<Connection> Select(Connection data) { IList<Connection> datos = new List<Connection>(); datos = GetHsql(data).List<Connection>(); if (!Factory.IsTransactional) Factory.Commit(); return datos; }
public static DataSet DirectSQLQueryDS(string query, string swhere, string tableName, Connection connection) { return SQLBase.ReturnDataSet(query, swhere, tableName, new SqlConnection(connection.CnnString)); }
public void DirectSQLNonQuery(string query, Connection connection) { SQLBase.ExecuteQuery(query, new SqlConnection(connection.CnnString)); }
public void DeleteConnection(Connection data) { Factory.DaoConnection().Delete(data); }
public void UpdateConnection(Connection data) { Factory.DaoConnection().Update(data); }
public Connection SaveConnection(Connection data) { return Factory.DaoConnection().Save(data); }
public IList<Connection> GetConnection(Connection data) { return Factory.DaoConnection().Select(data); }
public DataSet DirectSQLQueryDS(string query, string swhere, string tableName, Connection connection) { return BasicMngr.DirectSQLQueryDS(query, swhere, tableName, connection); }
public void DirectSQLNonQuery(string query, Connection connection) { BasicMngr.DirectSQLNonQuery(query, connection); }
public Connection SelectById(Connection data) { return (Connection)base.SelectById(data); }
public Boolean Delete(Connection data) { return base.Delete(data); }
public Boolean Update(Connection data) { return base.Update(data); }
public Connection Save(Connection data) { return (Connection)base.Save(data); }