You must set DMItem as true on both the class and attribute.

Eric Naiburg
Rational Software Corp.
425-497-6124
[EMAIL PROTECTED]


-----Original Message-----
From: Li, Qirong [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 07, 2000 12:22 PM
To: '[EMAIL PROTECTED]'
Subject: (ROSE) Using DM in Scripting ?



Hi all,

I have a question about Data Modeler. Is it possible to use DM in script
file? 

I was able to add a new class under  a Schema, then set
theClass.stereotype="Table". ( this will map the class to a table)
But when I tried the same way to add a new attribute to this class, I
could not set this attribute's stereotype. I could not set
isIdentity=true either if this is a primary key. I checked the online
help file, it says:

"The IsIdentity attribute (column) property is for internal use only and
should not be set by the user.  "

...

I need to bring a lot of information (batch files) into data model and
object model, if it is impossible to work with Data Modeler in scripts,
any other ways I can get the job done?

I appreciate any information. 

Michelle        

************************************************************************
* Rose Forum is a public venue for ideas and discussions.
* For technical support, visit http://www.rational.com/support
*
* Admin.Subscription Requests: [EMAIL PROTECTED]
* Archive of messages:
http://www.rational.com/products/rose/usergroups/rose_forum.jtmpl
* Other Requests: [EMAIL PROTECTED]
*
* To unsubscribe from the list, please send email
*
* To: [EMAIL PROTECTED]
* Subject:<BLANK>
* Body: unsubscribe rose_forum
*
*************************************************************************
************************************************************************
* Rose Forum is a public venue for ideas and discussions.
* For technical support, visit http://www.rational.com/support
*
* Admin.Subscription Requests: [EMAIL PROTECTED]
* Archive of messages: 
http://www.rational.com/products/rose/usergroups/rose_forum.jtmpl
* Other Requests: [EMAIL PROTECTED]
*
* To unsubscribe from the list, please send email
*
* To: [EMAIL PROTECTED]
* Subject:<BLANK>
* Body: unsubscribe rose_forum
*
*************************************************************************

Reply via email to