Register
Tuesday, January 06, 2009
Forum
 
Master/Details relationships with multiple fields in key
Last Post 05 Nov 2008 11:01 AM by eurowise. 4 Replies.
Printer Friendly
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
huwlloyd
New Member
New Member
Posts:15


--
22 Oct 2008 04:58 PM  
it seems that the code generator can only deal with simple 1 field primary - foreign keys.

if you have a primary key of more than one field then the code generated has lots of errors with many duplications:

e.g. Error 73 The type 'ProjectTrackerDemoWin.PLWinPersonBaseContextControl' already contains a definition for 'BLPersonBaseContextPersonNoteBindingSource' C:\Demo2\ProjectTrackerDemoWin\Data Entry Forms\PLWinPersonBaseContextControl.Designer.cs 2915 54 ProjectTrackerDemoWin

It's a problem in so far that if you don't put in the whole key then the data access is wrong, whereas if you do map all keys then you get the duplications above which are a pain to remove.

Any thoughts?
eurowise
Basic Member
Basic Member
Posts:107


--
22 Oct 2008 06:15 PM  
We will have to do some tests and come back to you on that. Are you using the Beta version?

Philip
huwlloyd
New Member
New Member
Posts:15


--
22 Oct 2008 06:18 PM  
yes i am using the beta, though i'm pretty sure it did the same with version 3.0 from my brief use of it.
huwlloyd
New Member
New Member
Posts:15


--
04 Nov 2008 05:37 PM  
Any news on this?
eurowise
Basic Member
Basic Member
Posts:107


--
05 Nov 2008 11:01 AM  
There is a problem and we are working to fix it for the next release.

Philip
You are not authorized to post a reply.

Active Forums 4.0