Search   

Friday, February 10, 2012

Support » Support Forum

Register  Login

 Menu  
 
    

 Welcome!  
 


Welcome to the NDO support forum!

kreis.gif Please register/login at the site if you want to post a thread. We sometimes copy support mails of common interest to the forum. They appear with anonymous sender.
kreis.gif Please post your messages in English language if possible. You can do your posts also in German, we will translate your post and our answer so that all users of the forum can read your posts.
kreis.gif The forum software requires that javascript is enabled.
kreis.gif Please do not insert licence information or licence keys in forum posts.
kreis.gif If you know a good answer to a post of another user, feel free to reply!
kreis.gif The forum is monitored. We reserve the right to remove posts we consider not to be useful for other forum users.

   Print   

      
 NDO Support Forum  
 
SearchForum Home
  NDO-Forum postings in english please, if possible.  Developing with NDO  Composite datab...
 Composite database keys
 
 10/29/2006 12:20:25 PM
thomas
1 posts


Composite database keys
 Modified By thomas  on 10/29/2006 1:21:16 PM)
Hi, Is there any way to map objects to a database using composite primary keys? I'm trying to map the object model to an existing database. In principle I'm not allowed to change the database model. The database contains many tables using composite keys. How should I solve this using NDO? Is this supported in any way? I'm using C#. Thanks.
 11/6/2006 2:38:44 PM
Mirko
109 posts
5th


Re: Composite database keys

Hi Thomas,

composite database keys are supported only, if the two keys are foreign keys to another table, so that your table is an intermediate table. In that case you can map this kind of intermediate table as something called an "intermediate class". All other cases of composite keys are not supported at the moment, but are on the feature list for the next bigger release of NDO to appear in the first half of 2007.

Best Regards
Mirko

  NDO-Forum postings in english please, if possible.  Developing with NDO  Composite datab...
  SearchSearch  Forum HomeForum Home