none
schema specified is not valid. Errors: The mapping of CLR type to EDM type is ambiguous RRS feed

  • Question

  • Hello, 

    I working on a project of the devu.com site but no-one can help me there.

    I have this site : https://github.com/rwobben/megachallenge

    but as soon as I want to store something in the database I see this error : 

    schema specified is not valid. Errors: The mapping of CLR type to EDM type is ambiguous because multiple CLR types match the EDM type 'PaymentType'. Previously found CLR type 'MegaChallenge.DataBase.PaymentType', newly found CLR type

    Anyone a idea how to solve this ? 

    Roelof


    • Edited by Roelof1967 Thursday, December 21, 2017 6:56 PM
    Thursday, December 21, 2017 6:56 PM

All replies

  • Found it . I had two classes with the same name but different projects. 

    Roelof

    Thursday, December 21, 2017 9:37 PM
  • Hi Roelof1967,

    I am glad to know that you resolve the issue, could you please mark it as answer, it will be beneficial to other communities who have the similar issue.

    Best regards,

    Zhanglong Wu


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    Friday, December 22, 2017 1:49 AM
    Moderator