如何告诉NHibernate总是强制使用加引号的标识符? [英] How to tell NHibernate always to force quoted identifiers?

查看:83
本文介绍了如何告诉NHibernate总是强制使用加引号的标识符?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

标题:我如何一劳永逸地告诉NHibernate,所有表名和列名都用它生成的SQL引用?

As the title: How would I tell NHibernate, once and for all, that all table and column names are to be quoted in the SQL it generates?

推荐答案

我还没有尝试过,但是据我可以根据

I've not tried this, but as far as i can determine based on the documentation a custom implementation of the naming strategy allows you to rewrite the table/column names thus also enables you to quote them.

这篇关于如何告诉NHibernate总是强制使用加引号的标识符?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆