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