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

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

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Example #3
0
        public PnInasistenciumCollection FetchByID(object IdInasistencia)
        {
            PnInasistenciumCollection coll = new PnInasistenciumCollection().Where("id_inasistencia", IdInasistencia).Load();

            return(coll);
        }