Add Database Constraint without associantions in the model

Discussion of open issues, suggestions and bugs regarding Entity Developer - ORM modeling and code generation tool
Post Reply
kkara
Posts: 7
Joined: Mon 27 Dec 2010 10:24

Add Database Constraint without associantions in the model

Post by kkara » Thu 20 Jan 2011 14:21

Hi,

I'm using the Entity Developer with a Model-First Approach. The database is almost exclusively generated from the model.

Now, I have a somewhat strange requirement. My goal is to be able to add Constraints to the Database without enforcing them in my model. To achieve that I simply add a constraint and configure the ends manually.

The problem is that by creating a constraint that way, two things happen in the XML under the node :

1. An element is added that describes the constraint. Cool!
2. An element is added under the element. Not cool! It renders the model invalid and prevents code from being generated (even though database generation works like a charm).

Even if I delete the element manually, every time I open the model in Entity Developer it keeps getting added.

I know this is minor, but it keeps getting on my nerves :)

Thank you and congratulations for your work on the Entity Developer...

AndreyR
Devart Team
Posts: 2919
Joined: Mon 07 Jul 2008 13:16

Post by AndreyR » Fri 21 Jan 2011 16:20

We will investigate the possibility to add this functionality.

AndreyR
Devart Team
Posts: 2919
Joined: Mon 07 Jul 2008 13:16

Post by AndreyR » Fri 04 Feb 2011 16:35

We have added the ConstraintSet property for the Storage constraints. If you clear this property, no conceptual association will be added to the model.

AndreyR
Devart Team
Posts: 2919
Joined: Mon 07 Jul 2008 13:16

Post by AndreyR » Fri 11 Feb 2011 11:07

The new 3.20.81 build of Entity Developer for SQL Server was released yesterday.
This build can be downloaded from the Download page (the trial version) or from Registered Users' Area (for users with active subscription only).
For the detailed information about the fixes and improvements available in dotConnect for Oracle 6.10.103, please refer to this post

Post Reply