Home
Help
Register
Log in

Search

 
   Active Threads  

You are here: Home > LLBLGen Pro > Bugs & Issues> Issues with mapping in data project using Entity Framework 6 runtime- LLBLGen Pro 4.2
 

Pages: 1
Bugs & Issues
Issues with mapping in data project using Entity Framework 6 runtime- LLBLGen Pro 4.2
Page:1/1 

  Print all messages in this thread  
Poster Message
amita
User



Location:
Canada
Joined on:
09-Mar-2015 15:38:53
Posted:
5 posts
# Posted on: 10-Mar-2015 17:29:25.  
I added the dataproject generated by LLBL 4.2 using the Entity Framework runtime 6
and when i try to access one of the entities in the web application project it throws so many errors pertaining to mapping as listed below:

Dal.msl(3312,6) : error 3032: Problem in mapping fragments starting at lines 3312, 3321:Condition members 'profit_center.variable_expense_id' have duplicate condition values.

amita  Top
Walaa
Support Team



Location:

Joined on:
21-Aug-2005 16:03:48
Posted:
14473 posts
# Posted on: 10-Mar-2015 17:59:21.  
My first guess is that this is an EF erro.

But anyway, does this error occur while accessing any of the entities, or just specific one?
Could you provide a repro solution?


  Top
amita
User



Location:
Canada
Joined on:
09-Mar-2015 15:38:53
Posted:
5 posts
# Posted on: 10-Mar-2015 18:04:43.  
These are the 2 mapping errors that I get

Dal.msl(2219,6) : error 3032: Problem in mapping fragments starting at lines 2219, 2228:Condition members 'profit_center.provision_and_write_off_id' have duplicate condition values.

Dal.msl(3312,6) : error 3032: Problem in mapping fragments starting at lines 3312, 3321:Condition members 'profit_center.variable_expense_id' have duplicate condition values.

And in my code I am accessing entity that is not having these mapping issues.
amita  Top
daelmo
Support Team



Location:
Guatemala City
Joined on:
28-Nov-2005 23:35:24
Posted:
8060 posts
# Posted on: 11-Mar-2015 07:18:09.  
Hi amita,

- Please post the LLBLGen version and build nr ( http://www.llblgen.com/TinyForum/Messages.aspx?ThreadID=7717 ).

- If possible please attach your .lblgenproj. You can open a new HelpDesk thread (which is private) to do so.

- Are you using inheritance in those entities? If so please describe the structure of your inheritance and try to reduce the reproducible case to the minimal so we can reproduce it over here.

I don't know about this error until today, and, as Walaa said, this seems like an EF error, but we have to see.


David Elizondo
LLBLGen'ing (articles and code snippets) | linkedin | twitter
 
Top
Pages: 1  


Powered by HnD ©2002-2007 Solutions Design
HnD uses LLBLGen Pro

Version: 2.1.12172008 Final.