mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2026-01-27 05:48:32 +08:00
MySql blukcopy bug
This commit is contained in:
@@ -30,6 +30,8 @@ namespace SqlSugar
|
|||||||
var IsBulkLoad = false;
|
var IsBulkLoad = false;
|
||||||
if (Entitys == null || Entitys.Length <= 0)
|
if (Entitys == null || Entitys.Length <= 0)
|
||||||
return IsBulkLoad;
|
return IsBulkLoad;
|
||||||
|
if (Entitys.First() == null && Entitys.Length ==1)
|
||||||
|
return IsBulkLoad;
|
||||||
DataTable dt = new DataTable();
|
DataTable dt = new DataTable();
|
||||||
Type type = typeof(T);
|
Type type = typeof(T);
|
||||||
var entity = this.Context.EntityMaintenance.GetEntityInfo<T>();
|
var entity = this.Context.EntityMaintenance.GetEntityInfo<T>();
|
||||||
|
|||||||
Reference in New Issue
Block a user