mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-09-18 09:44:39 +08:00
Update oscar
This commit is contained in:
@@ -374,6 +374,9 @@ namespace SqlSugar
|
||||
case DbType.Dm:
|
||||
DependencyManagement.TryDm();
|
||||
break;
|
||||
case DbType.Oscar:
|
||||
DependencyManagement.TryOscar();
|
||||
break;
|
||||
default:
|
||||
throw new Exception("ConnectionConfig.DbType is null");
|
||||
}
|
||||
|
@@ -13,6 +13,7 @@ namespace SqlSugar
|
||||
Oracle,
|
||||
PostgreSQL,
|
||||
Dm,
|
||||
Kdbndp
|
||||
Kdbndp,
|
||||
Oscar
|
||||
}
|
||||
}
|
||||
|
@@ -242,6 +242,10 @@ namespace SqlSugar
|
||||
{
|
||||
return new KdbndpInserttable<T>();
|
||||
}
|
||||
else if (currentConnectionConfig.DbType == DbType.Oscar)
|
||||
{
|
||||
return new KdbndpInserttable<T>();
|
||||
}
|
||||
else
|
||||
{
|
||||
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>();
|
||||
}
|
||||
else if (currentConnectionConfig.DbType == DbType.Oscar)
|
||||
{
|
||||
return new KdbndpInserttable<T>();
|
||||
}
|
||||
else
|
||||
{
|
||||
return new InsertableProvider<T>();
|
||||
|
Reference in New Issue
Block a user