Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsStoreStoreStore_Orders table Foreign Key To Itself?Store_Orders table Foreign Key To Itself?
Previous
 
Next
New Post
11/24/2009 11:48 AM
 

I had a problem deleting the Store_Orders table from the database and it seems that it has a foreign key to itself, literally

 

Primary Key Table:  dnn_Store_Orders

Primary Key:  OrderID

 

Foreign Key Table:  dnn_Store_Orders

Foreign Key:  OrderID

 

Is that supposed to be there?  If it is, then why?

 

Jeremy

 
New Post
11/24/2009 12:27 PM
Accepted Answer 

Hi Jeremy,

Normaly, there are only two foreign keys related to the Store_Orders table: FK_dnn_Store_OrderDetails_dnn_Store_Orders and FK_Store_Orders_Store_OrderStatus! It look like a bug, because there is no reason to use this kind of foreign key. This relation has been introduced in the 02.00.00.SqlDataProvider, I will correct this in a future version.

Gilles


We (team members) are Humans offering their knowledge, their work and their spare time FOR FREE to benefit the community. It would be so particularly appreciated that your messages begin with "Hello" and end with "Thank you" or any other form of politeness. Ask yourself what your reaction would be, if you were approached by me (a total stranger) on the street to ask you something without saying "Hello" nor "Thank you"? After several years of services dedicated to the community, I begin to be tired to read requests without any form of politeness.
 
New Post
11/24/2009 12:38 PM
 

I'm going to correct it for my version of the store module.  Do you want me to send you the script?

 
New Post
11/24/2009 12:52 PM
 

No, thank you. It's simple to do, it's not like a big patch! ;-) If you want, you can add a issue to Gemini, then everyone will be informed about this bug and I will be able to track them for the future version.

Thanks, Gilles


We (team members) are Humans offering their knowledge, their work and their spare time FOR FREE to benefit the community. It would be so particularly appreciated that your messages begin with "Hello" and end with "Thank you" or any other form of politeness. Ask yourself what your reaction would be, if you were approached by me (a total stranger) on the street to ask you something without saying "Hello" nor "Thank you"? After several years of services dedicated to the community, I begin to be tired to read requests without any form of politeness.
 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsStoreStoreStore_Orders table Foreign Key To Itself?Store_Orders table Foreign Key To Itself?


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.

Copyright 2014 by DNN Corp Terms of Use Privacy
Request
a Demo
See Evoq Live
Latest Blog
How to Make Advocate Marketing Work for You
Read It
Watch the Replay
Top 5 Reasons to Consider a Branded Online Community
Watch