Share via


SerializationExtensionMethods.GetAssociationSetName Method

Gets the name used for the association set serialized for a navigation property of an entity set.

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

Syntax

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

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

Parameters

Return Value

Type: System.String
The association set name.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IEdmModel. When you use instance method syntax to call this method, omit the first parameter. For more information, see https://msdn.microsoft.com/en-us/library/bb384936(v=vs.103) or https://msdn.microsoft.com/en-us/library/bb383977(v=vs.103).

See Also

Reference

SerializationExtensionMethods Class

Microsoft.Data.Edm.Csdl Namespace