Schema specified is not valid. Errors: The relationship was not loaded because the type is not available

后端 未结 8 1447
旧时难觅i
旧时难觅i 2021-02-05 02:53

I wish to reference the OrderAddress model twice in my Order model; once as a ShippingAddress and once as a Billing

8条回答
  •  花落未央
    2021-02-05 03:21

    In my case, the problem is because of table name conflict.

    I have another edmx model that has some tables with similar names. Just click on the table in the designer, then in the properties change the name to something different!

提交回复
热议问题