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