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

Foreign keys on nullable column (2011 Q2)

1 Answer 62 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Jakkie Esschert van den
Top achievements
Rank 1
Jakkie Esschert van den asked on 09 Aug 2011, 11:35 AM
Hi,

I've just upgraded to the Q2 release. Using the Visual Designer I'm trying to update my database with the changes in the model. The generated script tries to remove loads of foreign keys and indexes. I haven't checked all of them but it looks like it's removing the keys and indexes from all nullable relations.
Those keys where correctly created with the previous versions of OA.  I did find this post but adding the XML suggested there to the rlinq file doesn't seem to help. 

1 Answer, 1 is accepted

Sort by
0
PetarP
Telerik team
answered on 12 Aug 2011, 10:44 AM
Hello Jakkie Esschert Van Den,

 This is a known regression from Q1 that we will address in our next service pack.
A possible solution to create a script that is not dropping the constraints would be to work directly with our SchemaHandler in your code. You can review the code sample attached here for more information on how to do this.
I am sorry for any inconvenience this might be causing you.

Kind regards,
Petar
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get now >>

Tags
General Discussions
Asked by
Jakkie Esschert van den
Top achievements
Rank 1
Answers by
PetarP
Telerik team
Share this question
or