diff --git a/Fissoft.EntityFramework.Fts/FtsInterceptor.cs b/Fissoft.EntityFramework.Fts/FtsInterceptor.cs index 96c0551..60d8e26 100644 --- a/Fissoft.EntityFramework.Fts/FtsInterceptor.cs +++ b/Fissoft.EntityFramework.Fts/FtsInterceptor.cs @@ -90,8 +90,8 @@ private static string ReplacePropertyWithParameterKeyword(FtsSetting setting, st var value = (string) parameter.Value; if (value.IndexOf(flag) >= 0) { - parameter.Size = 4096; - parameter.DbType = DbType.AnsiStringFixedLength; + //parameter.Size = 4096; + //parameter.DbType = DbType.AnsiStringFixedLength; value = value.Replace(flag, ""); // remove prefix we added n linq query value = value.Substring(1, value.Length - 2); @@ -188,4 +188,4 @@ public void ScalarExecuted(DbCommand command, DbCommandInterceptionContext