nick_georghiou
unread,Nov 4, 2009, 12:31:52 AM11/4/09Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to RISE
Hi,
I have seen a couple of previous posts (one about Sql Types, and one
about constraints) which are similar to this topic. Ideally it would
be nice if Custom types could be created or a types list could be
imported.
The issue that I am finding is that although I can use constraints to
define an enumeration e.g. create an attribute that is of type Int and
then have a constraint e.g 1, 2, 3, there is no context provided for
the constraint values (although I realise I could use strings in this
case...). But more importantly, there are instances where the same
enum is required as a type for more than one attribute, which results
in duplication of the constraint and the overhead of maintaining the
constraint in multiple places if it needs to change.
I have considered modelling some enums as entities but this doesn't
really work either. Does anyone have any other suggestions or
workarounds?
(and notes for attributes would be good to :-) )
Regards,
Nick