ExtensionMethods.Multiplicity Method
Gets the multiplicity of this end of a bidirectional relationship between this navigation property and its partner.
Namespace: Microsoft.Data.Edm
Assembly: Microsoft.Data.Edm (in Microsoft.Data.Edm.dll)
Syntax
'Declaration
<ExtensionAttribute> _
Public Shared Function Multiplicity ( _
property As IEdmNavigationProperty _
) As EdmMultiplicity
'Usage
Dim property As IEdmNavigationProperty
Dim returnValue As EdmMultiplicity
returnValue = property.Multiplicity()
public static EdmMultiplicity Multiplicity(
this IEdmNavigationProperty property
)
[ExtensionAttribute]
public:
static EdmMultiplicity Multiplicity(
IEdmNavigationProperty^ property
)
static member Multiplicity :
property:IEdmNavigationProperty -> EdmMultiplicity
public static function Multiplicity(
property : IEdmNavigationProperty
) : EdmMultiplicity
Parameters
- property
Type: Microsoft.Data.Edm.IEdmNavigationProperty
The reference to the calling object.
Return Value
Type: Microsoft.Data.Edm.EdmMultiplicity
The multiplicity of this end of the relationship.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type IEdmNavigationProperty. 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).