mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-09-18 17:48:11 +08:00
Update Gbase
This commit is contained in:
@@ -259,23 +259,23 @@ WHEN NOT MATCHED THEN
|
|||||||
SetupParameters(cmd, dt, schema);
|
SetupParameters(cmd, dt, schema);
|
||||||
|
|
||||||
bool insertOneByOne = false;
|
bool insertOneByOne = false;
|
||||||
foreach (GbsParameter param in cmd.Parameters)
|
//foreach (GbsParameter param in cmd.Parameters)
|
||||||
{
|
//{
|
||||||
if (param.GbsType == GbsType.NVarChar ||
|
// if (param.GbsType == GbsType.NVarChar ||
|
||||||
param.GbsType == GbsType.Guid ||
|
// param.GbsType == GbsType.Guid ||
|
||||||
param.GbsType == GbsType.Byte ||
|
// param.GbsType == GbsType.Byte ||
|
||||||
param.GbsType == GbsType.Blob ||
|
// param.GbsType == GbsType.Blob ||
|
||||||
param.GbsType == GbsType.Text ||
|
// param.GbsType == GbsType.Text ||
|
||||||
param.GbsType == GbsType.Date ||
|
// param.GbsType == GbsType.Date ||
|
||||||
param.GbsType == GbsType.Clob)
|
// param.GbsType == GbsType.Clob)
|
||||||
{
|
// {
|
||||||
// some data type does not support insert cursor feature.
|
// // some data type does not support insert cursor feature.
|
||||||
// insert data row by row.
|
// // insert data row by row.
|
||||||
|
// insertOneByOne = true;
|
||||||
|
// break;
|
||||||
|
// }
|
||||||
|
//}
|
||||||
insertOneByOne = true;
|
insertOneByOne = true;
|
||||||
break;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
if (insertOneByOne)
|
if (insertOneByOne)
|
||||||
{
|
{
|
||||||
cmd.Prepare();
|
cmd.Prepare();
|
||||||
|
Reference in New Issue
Block a user