mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-10-15 18:55:07 +08:00
Update .net framework project
This commit is contained in:
@@ -412,6 +412,7 @@ namespace SqlSugar
|
|||||||
break;
|
break;
|
||||||
case DbType.ClickHouse:
|
case DbType.ClickHouse:
|
||||||
Check.Exception(SugarCompatible.IsFramework, "ClickHouse only support .net core");
|
Check.Exception(SugarCompatible.IsFramework, "ClickHouse only support .net core");
|
||||||
|
InstanceFactory.CustomDllName = SugarCompatible.IsFramework ? "SqlSugar.ClickHouse" : "SqlSugar.ClickHouseCore";
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
throw new Exception("ConnectionConfig.DbType is null");
|
throw new Exception("ConnectionConfig.DbType is null");
|
||||||
|
@@ -22,7 +22,7 @@ namespace SqlSugar
|
|||||||
public int DecimalDigits { get; set; }
|
public int DecimalDigits { get; set; }
|
||||||
public int Scale { get; set; }
|
public int Scale { get; set; }
|
||||||
public bool IsArray { get; set; }
|
public bool IsArray { get; set; }
|
||||||
internal bool IsJson { get; set; }
|
public bool IsJson { get; set; }
|
||||||
public bool? IsUnsigned { get; set; }
|
public bool? IsUnsigned { get; set; }
|
||||||
public int CreateTableFieldSort { get; set; }
|
public int CreateTableFieldSort { get; set; }
|
||||||
internal object SqlParameterDbType { get; set; }
|
internal object SqlParameterDbType { get; set; }
|
||||||
|
@@ -313,6 +313,10 @@ namespace SqlSugar
|
|||||||
{
|
{
|
||||||
return "SqlSugar.Access.Access" + name;
|
return "SqlSugar.Access.Access" + name;
|
||||||
}
|
}
|
||||||
|
else if (type == "ClickHouse")
|
||||||
|
{
|
||||||
|
return "SqlSugar.ClickHouse.ClickHouse" + name;
|
||||||
|
}
|
||||||
else if (type == "Custom")
|
else if (type == "Custom")
|
||||||
{
|
{
|
||||||
return CustomNamespace + "."+CustomDbName + name;
|
return CustomNamespace + "."+CustomDbName + name;
|
||||||
|
Reference in New Issue
Block a user