Browse Source

MySql blukcopy bug

pull/1/MERGE
SUNKAIXUAN 4 years ago
parent
commit
ca5edf3674
  1. 2
      Src/Asp.Net/SqlSugar/Realization/MySql/SqlBuilder/MySqlBlueCopy.cs

2
Src/Asp.Net/SqlSugar/Realization/MySql/SqlBuilder/MySqlBlueCopy.cs

@ -48,7 +48,7 @@ namespace SqlSugar
Array.ForEach(entity.Columns.ToArray(), p => {
if (!p.IsIgnore&& !p.IsOnlyIgnoreInsert)
{
pList.Add(p.PropertyInfo); dt.Columns.Add(p.PropertyName);
pList.Add(p.PropertyInfo); dt.Columns.Add(p.DbColumnName);
}
});
DataRow row = null;

Loading…
Cancel
Save