开发者

How to quote Fieldnames in Fluent NHibernate 1.1

开发者 https://www.devze.com 2023-01-07 20:31 出处:网络
After upgrading from Fluent NHibernate 1.0 RTM to 1.1 I got some strange errors when creating the database. After some investigation I discovered that FNH 1.0 quoted all field names in t开发者_如何转开

After upgrading from Fluent NHibernate 1.0 RTM to 1.1 I got some strange errors when creating the database. After some investigation I discovered that FNH 1.0 quoted all field names in t开发者_如何转开发he generated mapping files like 'user', but FNH 1.1 did not. This results in errors for the generated sql script when I use restriced keywords for properties.

Is it somehow possible to reactivate this feature of FNH 1.0 or enable quoting otherwise?


Are you talking about the code that is generated and sent to the sql server or the psedo mappings files it generates?

0

精彩评论

暂无评论...
验证码 换一张
取 消