mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-10-27 03:09:34 +08:00
Update Oracle BulkCopyUpdate
This commit is contained in:
@@ -344,6 +344,10 @@ namespace SqlSugar
|
|||||||
if (col.DataType == UtilConstants.StringType)
|
if (col.DataType == UtilConstants.StringType)
|
||||||
{
|
{
|
||||||
item[col.ColumnName] = string.Empty;
|
item[col.ColumnName] = string.Empty;
|
||||||
|
if (this.queryable?.SqlBuilder?.SqlParameterKeyWord == ":")
|
||||||
|
{
|
||||||
|
item[col.ColumnName] = " ";
|
||||||
|
};
|
||||||
}
|
}
|
||||||
else if (col.DataType == UtilConstants.DateType)
|
else if (col.DataType == UtilConstants.DateType)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -9,6 +9,7 @@ namespace SqlSugar
|
|||||||
{
|
{
|
||||||
public class OracleFastBuilder : FastBuilder, IFastBuilder
|
public class OracleFastBuilder : FastBuilder, IFastBuilder
|
||||||
{
|
{
|
||||||
|
public override bool IsActionUpdateColumns { get; set; } = true;
|
||||||
public override DbFastestProperties DbFastestProperties { get; set; } = new DbFastestProperties()
|
public override DbFastestProperties DbFastestProperties { get; set; } = new DbFastestProperties()
|
||||||
{
|
{
|
||||||
IsMerge = true
|
IsMerge = true
|
||||||
|
|||||||
Reference in New Issue
Block a user