Ravikumar G

Ravikumar G

  • NA
  • 210
  • 13.8k

Mapping of CLR type to EDM type is ambiguous error

Feb 28 2018 4:00 AM
Hi All,
 
I'm working on a project where we dealt with two databases with same Schema.
 
Now I'm to create context for both the databases.
 
Getting this error:
 
Mapping of CLR type to EDM type is ambiguous error 
 
So I did some R&D, google is suggesting to change the entity name and it worked for me. I can go with this solution. But the thing is we have around 100's table, Changing these many entities won't be good. As we frequently change the databse so whenever we update edmx all our changes will be lost.
 
 

Answers (5)