public PnLenguaCollection FetchByQuery(Query qry) { PnLenguaCollection coll = new PnLenguaCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public PnLenguaCollection FetchAll() { PnLenguaCollection coll = new PnLenguaCollection(); Query qry = new Query(PnLengua.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public PnLenguaCollection FetchByID(object IdLengua) { PnLenguaCollection coll = new PnLenguaCollection().Where("id_lengua", IdLengua).Load(); return(coll); }