We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fc59db7 commit b2c7eb9Copy full SHA for b2c7eb9
src/FirebirdSql.EntityFrameworkCore.Firebird/Storage/Internal/FbSqlGenerationHelper.cs
@@ -30,12 +30,8 @@ public FbSqlGenerationHelper(RelationalSqlGenerationHelperDependencies dependenc
30
public virtual string StringLiteralQueryType(string s, bool isUnicode = true)
31
{
32
var length = MinimumStringQueryTypeLength(s);
33
- EnsureStringLiteralQueryTypeLength(length);
34
- if(isUnicode)
35
- {
36
- return $"VARCHAR({length}) CHARACTER SET UTF8";
37
- }
38
- return $"VARCHAR({length})";
+ var charset = isUnicode ? " CHARACTER SET UTF8" : "";
+ return $"VARCHAR({length}){charset}";
39
}
40
41
public virtual string StringParameterQueryType(bool isUnicode)
0 commit comments