- 增加 人大金仓 OdbcKingbaseES 实现;#325

This commit is contained in:
28810
2020-05-27 05:59:33 +08:00
parent 0d6ebc1e26
commit 7d8457a988
57 changed files with 11687 additions and 188 deletions

View File

@ -58,7 +58,7 @@ namespace FreeSql.Odbc.MySql
return $"{nametrim.Trim('`').Replace("`.`", ".").Replace(".`", ".")}";
}
public override string[] SplitTableName(string name) => GetSplitTableNames(name, '`', '`', 2);
public override string QuoteParamterName(string name) => $"?{(_orm.CodeFirst.IsSyncStructureToLower ? name.ToLower() : name)}";
public override string QuoteParamterName(string name) => $"?{name}";
public override string IsNull(string sql, object value) => $"ifnull({sql}, {value})";
public override string StringConcat(string[] objs, Type[] types) => $"concat({string.Join(", ", objs)})";
public override string Mod(string left, string right, Type leftType, Type rightType) => $"{left} % {right}";