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

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

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
        public PnSumariosPersonalCollection FetchByID(object IdSumarioPersonal)
        {
            PnSumariosPersonalCollection coll = new PnSumariosPersonalCollection().Where("id_sumario_personal", IdSumarioPersonal).Load();

            return(coll);
        }