Freigeben über


SerializationExtensionMethods.GetAssociationEndName-Methode

Ruft den Namen für das für eine Navigationseigenschaft serialisierte Zuordnungsende ab.

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

Syntax

'Declaration
<ExtensionAttribute> _
Public Shared Function GetAssociationEndName ( _
    model As IEdmModel, _
    property As IEdmNavigationProperty _
) As String
'Usage
Dim model As IEdmModel
Dim property As IEdmNavigationProperty
Dim returnValue As String

returnValue = model.GetAssociationEndName(property)
public static string GetAssociationEndName(
    this IEdmModel model,
    IEdmNavigationProperty property
)
[ExtensionAttribute]
public:
static String^ GetAssociationEndName(
    IEdmModel^ model, 
    IEdmNavigationProperty^ property
)
static member GetAssociationEndName : 
        model:IEdmModel * 
        property:IEdmNavigationProperty -> string 
public static function GetAssociationEndName(
    model : IEdmModel, 
    property : IEdmNavigationProperty
) : String

Parameter

Rückgabewert

Typ: System.String
Der Name des Zuordnungsendes.

Hinweis zur Verwendung

In Visual Basic und C# können Sie die Methode als Instanzenmethode für jedes Objekt vom Typ IEdmModel aufrufen. Wenn Sie Instanzmethodensyntax zum Aufruf dieser Methode verwenden, vernachlässigen Sie den ersten Parameter. Weitere Informationen finden Sie unter https://msdn.microsoft.com/de-de/library/bb384936(v=vs.103) oder https://msdn.microsoft.com/de-de/library/bb383977(v=vs.103).

Siehe auch

Verweis

SerializationExtensionMethods Klasse

Microsoft.Data.Edm.Csdl-Namespace