n : m relation between two db tables -> warninsg in edmx file

Posts   
 
    
chrissie
User
Posts: 84
Joined: 05-Oct-2010
# Posted on: 07-Dec-2010 15:24:36   

hi,

i use the latest llblgen pro, vs 2010, windows 7/64, ms sql server 2008 r2, ef 4.

for every n : m relation between two database tables, which i resolve manually, i get an edmx file generated for which the compiler generates the Warning 4 Error 2005.

here is the original:

Warning 4 Error 2005: Mapping Association 'ApplicationFolder_Application__Application_FolderApplications' is redundant: Its referential integrity constraint provides sufficient information. You can safely delete the mapping information for this association. D:\DevProjects\SMC-1100 Office\trunk\main\Source\CAG.Framework\Smc\Persistence\Smc.edmx 2077 6 CAG.Framework.Data.Smc.Persistence.

i sent you the original llblgen pro project file twice, so attaching it for the third time would not provide you with more or new informations.

thank you very much in advance,

regards

chris

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39614
Joined: 17-Aug-2003
# Posted on: 07-Dec-2010 16:49:40   

That's a warning in MS' XML but there's little we can do about it. Removing it will not solve the problem, as it will produce other errors, hence we left the warning as-is. You can ignore the warning.

Frans Bouma | Lead developer LLBLGen Pro
chrissie
User
Posts: 84
Joined: 05-Oct-2010
# Posted on: 09-Dec-2010 09:41:57   

hi otis,

i am back after a holiday. thank you for that answer, this is what i thought.

regards

chris