I don't know either, perhaps it's just that no-one thought about it.

Regarding keywords, there is auto-quoting:
http://nhforge.org/blogs/nhibernate/archive/2009/06/24/auto-quote-table-column-names.aspx

Note that quotes affects more than keywords though. MS SQL Server with the
default installation and collation is case preserving and case insensitive
when it comes to identifiers (regardless of quotes), but it is possible to
use a case sensitive collation. Other databases stay truer to the SQL
standard by being case folding for _unqouted_ identifiers and then do case
sensitive comparisons regardless of quotes or not. Always quoting would
instead force the user to always use correct casing - which I think is a
good idea anyway but the point is instead of quotes the developer would now
have to think about this instead.

/Oskar



2013/11/18 David Schmitt <[email protected]>

> On 2013-11-18 15:33, sbohlen wrote:
>
>> This is a pretty common error (trying to use literal [ ]  to 'wrap'
>>
>
> I've neevr understood why nhibernate insists on forcing the user to decide
> whether quoting is required.
>
>
> Regards, David
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "nhusers" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/nhusers.
> For more options, visit https://groups.google.com/groups/opt_out.
>

-- 
You received this message because you are subscribed to the Google Groups 
"nhusers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/nhusers.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to