.Net MySql error “The given key was not present in the dictionary”

后端 未结 7 1383
深忆病人
深忆病人 2021-01-19 01:44

Trying to get simple count from table results in exception bellow. Tried different select statemens which also makes exception: \"SELECT * FROM goods\", but \"<

7条回答
  •  失恋的感觉
    2021-01-19 02:34

    I had same problem using .net core 2.1, mysql, nhibernate.

    After i added "Allow User Variables=True" to connection string in appsettings.json my problem solved.

提交回复
热议问题