public PnDebitoCollection FetchByQuery(Query qry) { PnDebitoCollection coll = new PnDebitoCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public PnDebitoCollection FetchAll() { PnDebitoCollection coll = new PnDebitoCollection(); Query qry = new Query(PnDebito.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public PnDebitoCollection FetchByID(object IdDebito) { PnDebitoCollection coll = new PnDebitoCollection().Where("id_debito", IdDebito).Load(); return(coll); }