DbException.BatchCommand 屬性

定義

如果在執行 DbBatch時擲回這個DbException值,則參考觸發例外狀況的特定 DbBatchCommand

C#
public System.Data.Common.DbBatchCommand? BatchCommand { get; }

屬性值

觸發例外狀況的特定 DbBatchCommand

備註

如果執行 DbBatch時未擲回此專案DbException, 則包含 null

適用於

產品 版本
.NET 6, 7, 8, 9, 10