Register
Login
Home
Code Complete
Download
Purchase
Your Cart
Forum
Services
Contact us
Tuesday, January 06, 2009
Web
Site
Forum
Unanswered
Active Topics
Forums
Search
Members
Forums
>
Code Complete
>
Support
Master/Details relationships with multiple fields in key
Last Post 05 Nov 2008 11:01 AM by
eurowise
. 4 Replies.
Sort:
Oldest First
Most Recent First
Prev
Next
You are not authorized to post a reply.
Author
Messages
huwlloyd
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
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
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
Posts:15
04 Nov 2008 05:37 PM
Any news on this?
eurowise
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.
Code Complete
--Dedicated to the latest news and announcements
--Tips and Tricks
--Code Complete Templates
--Testimonies
--Wish list
--General
--Support
Default Group
--Default Forum
Forums
>
Code Complete
>
Support
Active Forums 4.0
(c) 2009 - Eurowise Soft - Code Complete, The code generator.
|
Terms Of Use
|
Privacy Statement