public PnSmiefectoreCollection FetchByQuery(Query qry) { PnSmiefectoreCollection coll = new PnSmiefectoreCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public PnSmiefectoreCollection FetchAll() { PnSmiefectoreCollection coll = new PnSmiefectoreCollection(); Query qry = new Query(PnSmiefectore.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }