public PnOriCollection FetchByQuery(Query qry) { PnOriCollection coll = new PnOriCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public PnOriCollection FetchAll() { PnOriCollection coll = new PnOriCollection(); Query qry = new Query(PnOri.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public PnOriCollection FetchByID(object IdOri) { PnOriCollection coll = new PnOriCollection().Where("id_ori", IdOri).Load(); return(coll); }