Book a Demo

Author Topic: detect namespace supression  (Read 3019 times)

SomersetGraham

  • EA User
  • **
  • Posts: 376
  • Karma: +1/-0
    • View Profile
detect namespace supression
« on: May 07, 2014, 09:23:48 pm »
Hi
In my addin I need to detect if a package has the suppress namesace option set.
Is this possible?

Thanks
Using V12

Helmut Ortmann

  • EA User
  • **
  • Posts: 970
  • Karma: +42/-1
    • View Profile
Re: detect namespace supression
« Reply #1 on: May 07, 2014, 09:50:59 pm »
Hi,

in pkg.Flags = "SNSP=true";// surpress
in pkg.Flags = "SNSP=false";//show

You have to consider that there are also other flags.

Tip:
Make a little *.eap repository and make:
select * from t_package.

Thomas Kilians e-books are often a help.

Helmut
Coaching, Training, Workshop (Addins: hoTools, Search&Replace, LineStyle)

SomersetGraham

  • EA User
  • **
  • Posts: 376
  • Karma: +1/-0
    • View Profile
Re: detect namespace supression
« Reply #2 on: May 07, 2014, 10:40:31 pm »
Thanks
Using V12