ObjectContextOptions.ProxyCreationEnabled 屬性

定義

取得或設定一個布林值,判斷代理實例是否被建立給無持久性無知的自訂資料類別。

public:
 property bool ProxyCreationEnabled { bool get(); void set(bool value); };
public bool ProxyCreationEnabled { get; set; }
member this.ProxyCreationEnabled : bool with get, set
Public Property ProxyCreationEnabled As Boolean

屬性值

true如果建立了代理;否則,。 false 預設值為 true

適用於