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

后端 未结 6 911
夕颜
夕颜 2021-02-15 11:52

\"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条回答
  •  别跟我提以往
    2021-02-15 12:34

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

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

提交回复
热议问题