共用方式為


Entity.IsCodeGenerationEnabled 屬性

Gets or sets a value that indicates whether the code generation is enabled.

命名空間:  Microsoft.MasterDataServices.Services.DataContracts
組件:  Microsoft.MasterDataServices.Services.Contracts (在 Microsoft.MasterDataServices.Services.Contracts.dll 中)

語法

'宣告
<DataMemberAttribute(EmitDefaultValue := False, IsRequired := False)> _
Public Property IsCodeGenerationEnabled As Boolean 
    Get 
    Set
'用途
Dim instance As Entity 
Dim value As Boolean 

value = instance.IsCodeGenerationEnabled

instance.IsCodeGenerationEnabled = value
[DataMemberAttribute(EmitDefaultValue = false, IsRequired = false)]
public bool IsCodeGenerationEnabled { get; set; }
[DataMemberAttribute(EmitDefaultValue = false, IsRequired = false)]
public:
property bool IsCodeGenerationEnabled {
    bool get ();
    void set (bool value);
}
[<DataMemberAttribute(EmitDefaultValue = false, IsRequired = false)>]
member IsCodeGenerationEnabled : bool with get, set
function get IsCodeGenerationEnabled () : boolean 
function set IsCodeGenerationEnabled (value : boolean)

屬性值

型別:System.Boolean
true if the code generation is enabled; otherwise, false.

請參閱

參考

Entity 類別

Microsoft.MasterDataServices.Services.DataContracts 命名空間