public PnDptoCollection FetchByQuery(Query qry) { PnDptoCollection coll = new PnDptoCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public PnDptoCollection FetchAll() { PnDptoCollection coll = new PnDptoCollection(); Query qry = new Query(PnDpto.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public PnDptoCollection FetchByID(object IdDpto) { PnDptoCollection coll = new PnDptoCollection().Where("id_dpto", IdDpto).Load(); return(coll); }