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

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

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
        public PnLogEventoCollection FetchByID(object IdLog)
        {
            PnLogEventoCollection coll = new PnLogEventoCollection().Where("id_log", IdLog).Load();

            return(coll);
        }