mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-09-19 01:58:13 +08:00
Update oscar
This commit is contained in:
@@ -374,6 +374,9 @@ namespace SqlSugar
|
|||||||
case DbType.Dm:
|
case DbType.Dm:
|
||||||
DependencyManagement.TryDm();
|
DependencyManagement.TryDm();
|
||||||
break;
|
break;
|
||||||
|
case DbType.Oscar:
|
||||||
|
DependencyManagement.TryOscar();
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
throw new Exception("ConnectionConfig.DbType is null");
|
throw new Exception("ConnectionConfig.DbType is null");
|
||||||
}
|
}
|
||||||
|
@@ -13,6 +13,7 @@ namespace SqlSugar
|
|||||||
Oracle,
|
Oracle,
|
||||||
PostgreSQL,
|
PostgreSQL,
|
||||||
Dm,
|
Dm,
|
||||||
Kdbndp
|
Kdbndp,
|
||||||
|
Oscar
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -242,6 +242,10 @@ namespace SqlSugar
|
|||||||
{
|
{
|
||||||
return new KdbndpInserttable<T>();
|
return new KdbndpInserttable<T>();
|
||||||
}
|
}
|
||||||
|
else if (currentConnectionConfig.DbType == DbType.Oscar)
|
||||||
|
{
|
||||||
|
return new KdbndpInserttable<T>();
|
||||||
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
return new InsertableProvider<T>();
|
return new InsertableProvider<T>();
|
||||||
|
@@ -133,5 +133,10 @@ namespace SqlSugar
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public static void TryOscar()
|
||||||
|
{
|
||||||
|
throw new Exception("Oscar.NetCore版本下使用");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -242,6 +242,10 @@ namespace SqlSugar
|
|||||||
{
|
{
|
||||||
return new KdbndpInserttable<T>();
|
return new KdbndpInserttable<T>();
|
||||||
}
|
}
|
||||||
|
else if (currentConnectionConfig.DbType == DbType.Oscar)
|
||||||
|
{
|
||||||
|
return new KdbndpInserttable<T>();
|
||||||
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
return new InsertableProvider<T>();
|
return new InsertableProvider<T>();
|
||||||
|
Reference in New Issue
Block a user