public PnDiasSemanaCollection FetchByQuery(Query qry)
        {
            PnDiasSemanaCollection coll = new PnDiasSemanaCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
        public PnDiasSemanaCollection FetchAll()
        {
            PnDiasSemanaCollection coll = new PnDiasSemanaCollection();
            Query qry = new Query(PnDiasSemana.Schema);

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
        public PnDiasSemanaCollection FetchByID(object IdDia)
        {
            PnDiasSemanaCollection coll = new PnDiasSemanaCollection().Where("id_dia", IdDia).Load();

            return(coll);
        }