Closed Rensvind closed 3 years ago
If this line https://github.com/schotime/NPoco/blob/master/src/NPoco.SqlServer/SqlBulkCopyHelper.cs#L82 is changed to var value = db.ProcessMapper(cols[i].Value, cols[i].Value.GetValue(item!)); everything works as expected
var value = db.ProcessMapper(cols[i].Value, cols[i].Value.GetValue(item!));
In NPoco.SqlServer 5.1.1
If this line https://github.com/schotime/NPoco/blob/master/src/NPoco.SqlServer/SqlBulkCopyHelper.cs#L82 is changed to
var value = db.ProcessMapper(cols[i].Value, cols[i].Value.GetValue(item!));
everything works as expected