public AutTipoProveedorCollection FetchByQuery(Query qry) { AutTipoProveedorCollection coll = new AutTipoProveedorCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public AutTipoProveedorCollection FetchAll() { AutTipoProveedorCollection coll = new AutTipoProveedorCollection(); Query qry = new Query(AutTipoProveedor.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }