public PnAusentismoCollection FetchByQuery(Query qry) { PnAusentismoCollection coll = new PnAusentismoCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public PnAusentismoCollection FetchAll() { PnAusentismoCollection coll = new PnAusentismoCollection(); Query qry = new Query(PnAusentismo.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public PnAusentismoCollection FetchByID(object IdLegajo) { PnAusentismoCollection coll = new PnAusentismoCollection().Where("id_legajo", IdLegajo).Load(); return(coll); }