コード例 #1
0
        public PnDiasSemanaCollection FetchByQuery(Query qry)
        {
            PnDiasSemanaCollection coll = new PnDiasSemanaCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
コード例 #2
0
        public PnDiasSemanaCollection FetchAll()
        {
            PnDiasSemanaCollection coll = new PnDiasSemanaCollection();
            Query qry = new Query(PnDiasSemana.Schema);

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