Share via


DbCommandLogData 類別

定義

警告

This class is obsolete. It will be removed in a future release.

正在執行之 的 DbCommand 記錄資訊。

此類別的實例通常是由 Entity Framework 所建立,並傳遞至記錄器,它並非設計成直接在應用程式程式碼中建構。

public class DbCommandLogData
[System.Obsolete("This class is obsolete. It will be removed in a future release.")]
public class DbCommandLogData : System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<string,object>>
type DbCommandLogData = class
[<System.Obsolete("This class is obsolete. It will be removed in a future release.")>]
type DbCommandLogData = class
    interface seq<KeyValuePair<string, obj>>
    interface IEnumerable
Public Class DbCommandLogData
Public Class DbCommandLogData
Implements IEnumerable(Of KeyValuePair(Of String, Object))
繼承
DbCommandLogData
屬性
實作

建構函式

DbCommandLogData(String, CommandType, Int32, IReadOnlyList<DbParameterLogData>, Nullable<Int64>)
已淘汰.

初始化 DbParameterLogData 類別的新執行個體。

屬性

CommandText
已淘汰.

取得正在執行的命令文字。

CommandTimeout
已淘汰.

取得為 命令設定的逾時。

CommandType
已淘汰.

取得正在執行的命令類型。

ElapsedMilliseconds
已淘汰.

取得命令在完成) 時執行 (所花費的毫秒數。

Parameters
已淘汰.

取得命令的參數。

方法

GetEnumerator()
已淘汰.

正在執行之 的 DbCommand 記錄資訊。

此類別的實例通常是由 Entity Framework 所建立,並傳遞至記錄器,它並非設計成直接在應用程式程式碼中建構。

明確介面實作

IEnumerable.GetEnumerator()
已淘汰.

正在執行之 的 DbCommand 記錄資訊。

此類別的實例通常是由 Entity Framework 所建立,並傳遞至記錄器,它並非設計成直接在應用程式程式碼中建構。

適用於