Skip to content

Commit b19b522

Browse files
Fix base implementation
1 parent feb5c53 commit b19b522

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/NHibernate/Dialect/Dialect.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2111,7 +2111,7 @@ public virtual string ToStringLiteral(string value, SqlType type)
21112111
.Insert(0, '\'')
21122112
.Append('\'');
21132113

2114-
if (UseNPrefixForUnicodeStrings && type.DbType == DbType.String || type.DbType == DbType.StringFixedLength)
2114+
if (UseNPrefixForUnicodeStrings && (type.DbType == DbType.String || type.DbType == DbType.StringFixedLength))
21152115
literal.Insert(0, 'N');
21162116
return literal.ToString();
21172117
}

0 commit comments

Comments
 (0)