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