This is a migrated thread and some comments may be shown as answers.

DB constraints and Open Access

3 Answers 72 Views
Development (API, general questions)
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Markus
Top achievements
Rank 1
Markus asked on 19 Feb 2009, 02:39 PM
Hi all,

Is there some way to create db-constraints for our persistent object values, i.e. a unique constraint on the database (in our case oracle)? So far i only know about the not-null constraint.

Thanks in advance
Best regards
Markus

3 Answers, 1 is accepted

Sort by
0
Alexander
Telerik team
answered on 20 Feb 2009, 03:06 PM
Hi Markus,

We generate automatically only the pk and foreign key constraints. Additional constraints could be defined in the SQL script in the bin/Debug output directory. It is created during building the project and it is regenerated if there are some changes made to the mapping model.

Best wishes,
Alexander
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Skywalker
Top achievements
Rank 1
answered on 01 Dec 2009, 11:44 AM
Will there be support to define additional (unique) constraints in future versions?
0
Alexander
Telerik team
answered on 03 Dec 2009, 04:24 PM
Hi Sipke,

Currently we do not have this on our TODO list but we will certainly add it. Thank you for the suggestion.

Best wishes,
Alexander
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
Development (API, general questions)
Asked by
Markus
Top achievements
Rank 1
Answers by
Alexander
Telerik team
Skywalker
Top achievements
Rank 1
Share this question
or