public PnPaiCollection FetchByQuery(Query qry) { PnPaiCollection coll = new PnPaiCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public PnPaiCollection FetchAll() { PnPaiCollection coll = new PnPaiCollection(); Query qry = new Query(PnPai.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public PnPaiCollection FetchByID(object IdPais) { PnPaiCollection coll = new PnPaiCollection().Where("id_pais", IdPais).Load(); return(coll); }