Entity.IsCodeGenerationEnabled Property


Gets or sets 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.

Namespace:   Microsoft.MasterDataServices.Services.DataContracts
Assembly:  Microsoft.MasterDataServices.Services.Contracts (in Microsoft.MasterDataServices.Services.Contracts.dll)

[DataMemberAttribute(IsRequired = false, EmitDefaultValue = false)]
public bool IsCodeGenerationEnabled { get; set; }

Property Value

Type: System.Boolean

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

Return to top