mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-04-24 18:04:52 +08:00
Synchronization code
This commit is contained in:
parent
25bdb39694
commit
c53e012675
@ -9,6 +9,7 @@ namespace SqlSugar
|
||||
{
|
||||
public class FastBuilder
|
||||
{
|
||||
public EntityInfo FastEntityInfo { get; set; }
|
||||
public virtual bool IsActionUpdateColumns { get; set; }
|
||||
public virtual DbFastestProperties DbFastestProperties { get; set; }
|
||||
public SqlSugarProvider Context { get; set; }
|
||||
|
@ -42,7 +42,10 @@ namespace SqlSugar
|
||||
default:
|
||||
break;
|
||||
}
|
||||
throw new Exception(this.context.CurrentConnectionConfig.DbType + "开发中...");
|
||||
var reslut = InstanceFactory.CreateInstance<IFastBuilder>($"SqlSugar.{this.context.CurrentConnectionConfig.DbType}FastBuilder");
|
||||
reslut.CharacterSet = this.CharacterSet;
|
||||
reslut.FastEntityInfo = this.entityInfo;
|
||||
return reslut;
|
||||
}
|
||||
private DataTable ToDdateTable(List<T> datas)
|
||||
{
|
||||
|
@ -9,6 +9,7 @@ namespace SqlSugar
|
||||
{
|
||||
public interface IFastBuilder
|
||||
{
|
||||
EntityInfo FastEntityInfo { get; set; }
|
||||
bool IsActionUpdateColumns { get; set; }
|
||||
DbFastestProperties DbFastestProperties { get; set; }
|
||||
SqlSugarProvider Context { get; set; }
|
||||
|
@ -9,6 +9,7 @@ namespace SqlSugar
|
||||
{
|
||||
public class OracleFastBuilder:IFastBuilder
|
||||
{
|
||||
public EntityInfo FastEntityInfo { get; set; }
|
||||
public string CharacterSet { get; set; }
|
||||
public OracleFastBuilder(EntityInfo entityInfo)
|
||||
{
|
||||
|
@ -10,6 +10,7 @@ namespace SqlSugar
|
||||
{
|
||||
public class SqliteFastBuilder : IFastBuilder
|
||||
{
|
||||
public EntityInfo FastEntityInfo { get; set; }
|
||||
private EntityInfo entityInfo;
|
||||
private bool IsUpdate = false;
|
||||
public string CharacterSet { get; set; }
|
||||
|
Loading…
Reference in New Issue
Block a user