public InsTipoDepositoCollection FetchByQuery(Query qry) { InsTipoDepositoCollection coll = new InsTipoDepositoCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public InsTipoDepositoCollection FetchAll() { InsTipoDepositoCollection coll = new InsTipoDepositoCollection(); Query qry = new Query(InsTipoDeposito.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public InsTipoDepositoCollection FetchByID(object IdTipoDeposito) { InsTipoDepositoCollection coll = new InsTipoDepositoCollection().Where("idTipoDeposito", IdTipoDeposito).Load(); return(coll); }