mirror of
https://github.com/nsnail/FreeSql.git
synced 2025-06-19 04:18:16 +08:00
- fix: CustomAdapter
This commit is contained in:
@ -40,7 +40,7 @@ namespace FreeSql.Custom
|
||||
});
|
||||
|
||||
static FreeSql.Custom.CustomAdo _customAdo = new FreeSql.Custom.CustomAdo();
|
||||
public override string FormatSql(string sql, params object[] args) => _customAdo.Addslashes(sql, args);
|
||||
public override string FormatSql(string sql, params object[] args) => (_orm?.Ado as CustomAdo)?.Addslashes(sql, args) ?? _customAdo.Addslashes(sql, args);
|
||||
public override string QuoteSqlName(params string[] name)
|
||||
{
|
||||
if (name.Length == 1)
|
||||
|
Reference in New Issue
Block a user