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

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

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
        public PnTipoDocumentoCollection FetchByID(object IdTipoDocumento)
        {
            PnTipoDocumentoCollection coll = new PnTipoDocumentoCollection().Where("id_tipo_documento", IdTipoDocumento).Load();

            return(coll);
        }