ObjectContextOptions.ProxyCreationEnabled Property

 

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

Namespace:   System.Data.Entity.Core.Objects
Assembly:  EntityFramework (in EntityFramework.dll)

public bool ProxyCreationEnabled {
	[CompilerGeneratedAttribute]
	get;
	[CompilerGeneratedAttribute]
	set;
}

Property Value

Type: System.Boolean

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