Szerkesztés

Megosztás a következőn keresztül:


ObjectContextOptions.ProxyCreationEnabled Property

Definition

Gets or sets a Boolean value that determines whether proxy instances are created for custom data classes that are persistence ignorant.

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

Property Value

true if proxies are created; otherwise, false. The default value is true.

Applies to