db.Fastest oracle

This commit is contained in:
sunkaixuna
2021-11-20 23:56:55 +08:00
parent 91700aafb4
commit a93ecde9de
3 changed files with 19 additions and 2 deletions

View File

@@ -20,7 +20,7 @@ namespace SqlSugar
case DbType.Sqlite: case DbType.Sqlite:
break; break;
case DbType.Oracle: case DbType.Oracle:
break; return new OracleFastBuilder();
case DbType.PostgreSQL: case DbType.PostgreSQL:
return new PostgreSQLFastBuilder(this.entityInfo); return new PostgreSQLFastBuilder(this.entityInfo);
case DbType.Dm: case DbType.Dm:
@@ -32,7 +32,7 @@ namespace SqlSugar
default: default:
break; break;
} }
throw new Exception(this.context.CurrentConnectionConfig.DbType + "开发中"); throw new Exception(this.context.CurrentConnectionConfig.DbType + "开发中...");
} }
private DataTable ToDdateTable(List<T> datas) private DataTable ToDdateTable(List<T> datas)
{ {

View File

@@ -0,0 +1,16 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SqlSugar.OnlyNet
{
public class OracleFastBuilder
{
public OracleFastBuilder()
{
throw new Exception("Oracle bulk copy , only.net CORE is supported");
}
}
}

View File

@@ -95,6 +95,7 @@
<Compile Include="Abstract\FilterProvider\FilterProvider.cs" /> <Compile Include="Abstract\FilterProvider\FilterProvider.cs" />
<Compile Include="Interface\IFastBuilder.cs" /> <Compile Include="Interface\IFastBuilder.cs" />
<Compile Include="Interface\IFastest.cs" /> <Compile Include="Interface\IFastest.cs" />
<Compile Include="OnlyNet\OracleFastBuilder.cs" />
<Compile Include="Realization\MySql\SqlBuilder\MySqlFastBuilder.cs" /> <Compile Include="Realization\MySql\SqlBuilder\MySqlFastBuilder.cs" />
<Compile Include="Realization\PostgreSQL\SqlBuilder\PostgreSQLFastBuilder.cs" /> <Compile Include="Realization\PostgreSQL\SqlBuilder\PostgreSQLFastBuilder.cs" />
<Compile Include="Realization\SqlServer\SqlBuilder\SqlServerFastBuilder.cs" /> <Compile Include="Realization\SqlServer\SqlBuilder\SqlServerFastBuilder.cs" />