public PnTribuCollection FetchByQuery(Query qry) { PnTribuCollection coll = new PnTribuCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public PnTribuCollection FetchAll() { PnTribuCollection coll = new PnTribuCollection(); Query qry = new Query(PnTribu.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public PnTribuCollection FetchByID(object IdTribu) { PnTribuCollection coll = new PnTribuCollection().Where("id_tribu", IdTribu).Load(); return(coll); }