当社では、デフォルトのマッパーとして nhibernate を使用しています。nhibernate 基準を使用してクエリを作成します。すべてのパラメーターが次のように Unicode として送信されることに気付きました。
exec sp_executesql N'SELECT this_.ID as ID23_0_, this_.Nazwa as Nazwa23_0_, this_.Opis as Opis23_0_, this_.TypGrupy as TypGrupy23_0_, this_.CzyDystrybuowana as CzyDystr5_23_0_, this_.CzyAktywna as CzyAktywna23_0_ FROM Grupa this_ WHERE this_.Nazwa like @p0',N'@p0 nvarchar(50)',@p0=N'%something%'
これは望ましい動作ではありません。nhibernate クエリでユニコードを無効にすることは可能ですか? ありがとう
ロメク