Sparx Systems Forum
Enterprise Architect => Automation Interface, Add-Ins and Tools => Topic started by: Tehila1 on June 01, 2014, 06:54:02 pm
-
Hello,
I would like to modify the semi-colon separated list of package flags.
Is there a way to do so via API or I must run an update SQL query?
Thanks.
-
I guess you have to fallback to SQL in that case. IIRC some of those parameters are set as "side effect" but to modify them at your wish there is no other way than SQL.
q.
-
The property Flags can be written to via the automation interface so there's no need to use SQL directly.
-
Simon is right. I have to update the xref in my book.
BTW Simon: can you tell me where the columns s_Generation, s_GUID and s_Lineage (in t_package) come from? I found them in a recent model but could not figure out how they came in there.
q.
-
I believe it's replication, most likely JET. You'll may also find different columns in the master vs the replicas.
-
The property Flags can be written to via the automation interface so there's no need to use SQL directly.
How can I do it?
Thanks
-
EaPackage.Flags
See the update of my Inside book.
q.
-
Thanks, it works fine.