MySQL & NHibernate. How fix the error: Column 'ReservedWord' does not belong to table ReservedWords?

后端 未结 6 2307
难免孤独
难免孤独 2021-02-15 11:50

\"I am getting a weird error when using NHibernate. And I don\'t know what is causing this error. I am new to the whole Visual Studio and NHibernate, but not to Hibernate. I use

6条回答
  •  猫巷女王i
    2021-02-15 12:17

    If doing it programmatically, you should do it as such:

    cfg.SetProperty(NHibernate.Cfg.Environment.Hbm2ddlKeyWords, "none");
    

提交回复
热议问题