Skip to content

ExecuteSqlBulkCopy带上事务报错 #962

Closed
@bao2314483

Description

@bao2314483
Fsql.Transaction(() =>
            {
                //全部清除
                Fsql.Delete<SysHrOrgnization>().Where("1=1").ExecuteAffrows();
                //创建
                Fsql.Insert(data).ExecuteSqlBulkCopy();
            });

提示报错如下:
Microsoft.Data.SqlClient.SqlException: 'Execution Timeout Expired. The timeout period elapsed prior to completion of the operation or the server is not responding.
The statement has been terminated.'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions