ObjectContextOptions.ProxyCreationEnabled Property
Gets or sets a Boolean value that determines whether proxy instances are created for custom data classes that are persistence ignorant.
Assembly: EntityFramework (in EntityFramework.dll)
public bool ProxyCreationEnabled { [CompilerGeneratedAttribute] get; [CompilerGeneratedAttribute] set; }
Property Value
Type: System.Booleantrue if proxies are created; otherwise, false. The default value is true.