Exemplo n.º 1
0
        public PnInasistenciumCollection FetchByQuery(Query qry)
        {
            PnInasistenciumCollection coll = new PnInasistenciumCollection();

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

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

            return(coll);
        }