Freigeben über


EdmStructuredType.AddStructuralProperty-Methode (String, IEdmTypeReference, String, EdmConcurrencyMode)

Erstellt eine strukturelle Eigenschaft und fügt sie diesem Typ hinzu.

Namespace:  Microsoft.Data.Edm.Library
Assembly:  Microsoft.Data.Edm (in Microsoft.Data.Edm.dll)

Syntax

'Declaration
Public Function AddStructuralProperty ( _
    name As String, _
    type As IEdmTypeReference, _
    defaultValue As String, _
    concurrencyMode As EdmConcurrencyMode _
) As EdmStructuralProperty
'Usage
Dim instance As EdmStructuredType
Dim name As String
Dim type As IEdmTypeReference
Dim defaultValue As String
Dim concurrencyMode As EdmConcurrencyMode
Dim returnValue As EdmStructuralProperty

returnValue = instance.AddStructuralProperty(name, _
    type, defaultValue, concurrencyMode)
public EdmStructuralProperty AddStructuralProperty(
    string name,
    IEdmTypeReference type,
    string defaultValue,
    EdmConcurrencyMode concurrencyMode
)
public:
EdmStructuralProperty^ AddStructuralProperty(
    String^ name, 
    IEdmTypeReference^ type, 
    String^ defaultValue, 
    EdmConcurrencyMode concurrencyMode
)
member AddStructuralProperty : 
        name:string * 
        type:IEdmTypeReference * 
        defaultValue:string * 
        concurrencyMode:EdmConcurrencyMode -> EdmStructuralProperty 
public function AddStructuralProperty(
    name : String, 
    type : IEdmTypeReference, 
    defaultValue : String, 
    concurrencyMode : EdmConcurrencyMode
) : EdmStructuralProperty

Parameter

  • defaultValue
    Typ: System.String
    Der Standardwert dieser Eigenschaft.

Rückgabewert

Typ: Microsoft.Data.Edm.Library.EdmStructuralProperty
Die erstellte strukturelle Eigenschaft.

Siehe auch

Verweis

EdmStructuredType Klasse

AddStructuralProperty-Überladung

Microsoft.Data.Edm.Library-Namespace