Entity Framework - Unable to load the specified metadata resource

前端 未结 17 1254
一生所求
一生所求 2020-12-14 15:21

I realise that this has been asked a number of times but I just can\'t seem to get the bottom of my issue. I\'m getting the following error stack:

17条回答
  •  [愿得一人]
    2020-12-14 15:53

    you should specify the assembly fully qualified name and a path to your model file within it(separated by /), not the dll name

    connectionString="metadata=res://Name.Of.The.Assembly, Culture=neutral, PublicKeyToken=8e2e51fcf4cf363e/Payment.PaymentModel.csdl|.........."
    

    the same for ssdl and msl

提交回复
热议问题