public PnProvinciaCollection FetchByQuery(Query qry) { PnProvinciaCollection coll = new PnProvinciaCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public PnProvinciaCollection FetchAll() { PnProvinciaCollection coll = new PnProvinciaCollection(); Query qry = new Query(PnProvincia.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public PnProvinciaCollection FetchByID(object IdProvincia) { PnProvinciaCollection coll = new PnProvinciaCollection().Where("id_provincia", IdProvincia).Load(); return(coll); }