DbException.DbBatchCommand 屬性

定義

在衍生類別中覆寫時,如果在執行 DbBatch時擲回這個 DbException ,則會參考觸發例外狀況的特定 DbBatchCommand

C#
protected virtual System.Data.Common.DbBatchCommand? DbBatchCommand { get; }

屬性值

觸發例外狀況的特定 DbBatchCommand

備註

如果在執行 DbBatch時未擲回這個DbException值, 則值為 null

適用於

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