Hello,
I have a lot of diagrams stored in Enterprise Architect packages. I use Features - Operations for diagram objects. Each Operation can have Parameters. I add these Parameters via Properties window. There is a lot of these parameters - that I take from excel sheets and Word documents and rewrite to EA. System keeps Parameters in t_operationparams database table from which I am able to select them with an SQL command:
SELECT operpar.OperationID
, operpar.Name
, operpar.Type
, operpar.Default
, operpar.Notes
, operpar.Pos
, operpar.Const
, operpar.Style
, operpar.Kind
, operpar.Classifier
, operpar.ea_guid
, operpar.StyleEx
FROM t_operationparams operpar
WHERE operpar.OperationID = 1164
My question is:
Can I insert records in this table directly with an INSERT command? (It would be much more quicker for me)
INSERT INTO t_operationparams (OperationID, Name, Type, Default, Notes, Pos, Const, Kind) VALUES (1164,'command_id','num(4)','Identification of SasGwyOneCAS_specification command pattern','Fix value',0,0,1);
The ea_guid field value I don't know, it is created on system level. Can I treat somehow it?
As far as JScript and VB script in EA - I don't know very much about this program method.
Thank You for Your kind advice
R. Heyduk