예제 #1
0
        public PnInasistenciumCollection FetchByQuery(Query qry)
        {
            PnInasistenciumCollection coll = new PnInasistenciumCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
예제 #2
0
        public PnInasistenciumCollection FetchAll()
        {
            PnInasistenciumCollection coll = new PnInasistenciumCollection();
            Query qry = new Query(PnInasistencium.Schema);

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }