Share via


Entity.IsCodeGenerationEnabled Property

Definition

Specifies a flag indicating whether automatic code generation is enabled. When true, new Members will be created with an autogenerated, numeric, incrementing Code value that starts at CodeGenerationSeed. When false, the Member creator must specify a Code value.

public:
 property bool IsCodeGenerationEnabled { bool get(); void set(bool value); };
[System.Runtime.Serialization.DataMember(EmitDefaultValue=false, IsRequired=false)]
public bool IsCodeGenerationEnabled { get; set; }
[<System.Runtime.Serialization.DataMember(EmitDefaultValue=false, IsRequired=false)>]
member this.IsCodeGenerationEnabled : bool with get, set
Public Property IsCodeGenerationEnabled As Boolean

Property Value

true if automatic code generation is enabled; otherwise, false.

Attributes

Applies to