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