mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-05-04 04:37:58 +08:00
Update Sqlite
This commit is contained in:
parent
d166148dc5
commit
c34c8dc81e
@ -222,6 +222,10 @@ namespace SqlSugar
|
|||||||
{
|
{
|
||||||
tempequals = tempequals.Replace("=N'", "='");
|
tempequals = tempequals.Replace("=N'", "='");
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
tempequals = SqlBuilder.RemoveN(tempequals);
|
||||||
|
}
|
||||||
entityValue = UtilMethods.GetConvertValue(entityValue);
|
entityValue = UtilMethods.GetConvertValue(entityValue);
|
||||||
andString.AppendFormat(tempequals, primaryField, entityValue);
|
andString.AppendFormat(tempequals, primaryField, entityValue);
|
||||||
}
|
}
|
||||||
|
@ -164,6 +164,10 @@ namespace SqlSugar
|
|||||||
public virtual void FormatSaveQueueSql(StringBuilder sqlBuilder)
|
public virtual void FormatSaveQueueSql(StringBuilder sqlBuilder)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
public virtual string RemoveN(string sql)
|
||||||
|
{
|
||||||
|
return sql;
|
||||||
|
}
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
#region Common SqlTemplate
|
#region Common SqlTemplate
|
||||||
|
@ -45,6 +45,7 @@ namespace SqlSugar
|
|||||||
string GetUnionFomatSql(string sql);
|
string GetUnionFomatSql(string sql);
|
||||||
Type GetNullType(string tableName,string columnName);
|
Type GetNullType(string tableName,string columnName);
|
||||||
string RemoveParentheses(string sql);
|
string RemoveParentheses(string sql);
|
||||||
|
string RemoveN(string sql);
|
||||||
void FormatSaveQueueSql(StringBuilder sqlBuilder);
|
void FormatSaveQueueSql(StringBuilder sqlBuilder);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -31,5 +31,9 @@ namespace SqlSugar
|
|||||||
|
|
||||||
return sql;
|
return sql;
|
||||||
}
|
}
|
||||||
|
public override string RemoveN(string sql)
|
||||||
|
{
|
||||||
|
return sql?.Replace("N", "");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user