R
Rickard Axne
ORM check constraints in visio:
I want to add constraints with wildcards (eg [a-z][a-z][0-9]) in my ORM
source model. It seems to be logical to add this in the Value section of
Database properties for an object or value.
The problem is this. Visio isn't smart enough to realize the resulting
length of my constraint, in the example above char(3). Error Check
reports the length of my constraint to be too long for my data type.
So in order to find out what I'm doing wrong, I tried creating a
physical table with the check constraint and then reverse engineer it.
Well, in the ORM source model I can't find the constraint at all, and
it's not in the constraint report. However, When generating the logical
schema based on my reverse engineered ORM source, the constraint is
there after all?!
What am I missing?
Rickard
I want to add constraints with wildcards (eg [a-z][a-z][0-9]) in my ORM
source model. It seems to be logical to add this in the Value section of
Database properties for an object or value.
The problem is this. Visio isn't smart enough to realize the resulting
length of my constraint, in the example above char(3). Error Check
reports the length of my constraint to be too long for my data type.
So in order to find out what I'm doing wrong, I tried creating a
physical table with the check constraint and then reverse engineer it.
Well, in the ORM source model I can't find the constraint at all, and
it's not in the constraint report. However, When generating the logical
schema based on my reverse engineered ORM source, the constraint is
there after all?!
What am I missing?
Rickard