Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Adds a contained EDM navigation property to this entity type.
Namespace: System.Web.OData.Builder
Assembly: System.Web.OData (in System.Web.OData.dll)
Syntax
public virtual NavigationPropertyConfiguration AddContainedNavigationProperty(
PropertyInfo navigationProperty,
EdmMultiplicity multiplicity
)
public:
virtual NavigationPropertyConfiguration^ AddContainedNavigationProperty(
PropertyInfo^ navigationProperty,
EdmMultiplicity multiplicity
)
abstract AddContainedNavigationProperty :
navigationProperty:PropertyInfo *
multiplicity:EdmMultiplicity -> NavigationPropertyConfiguration
override AddContainedNavigationProperty :
navigationProperty:PropertyInfo *
multiplicity:EdmMultiplicity -> NavigationPropertyConfiguration
Public Overridable Function AddContainedNavigationProperty (
navigationProperty As PropertyInfo,
multiplicity As EdmMultiplicity
) As NavigationPropertyConfiguration
Parameters
navigationProperty
Type: System.Reflection.PropertyInfoThe backing CLR property.
multiplicity
Type: Microsoft.OData.Edm.EdmMultiplicityThe EdmMultiplicity of the navigation property.
Return Value
Type: System.Web.OData.Builder.NavigationPropertyConfiguration
Returns the NavigationPropertyConfiguration of the added property.
See Also
EntityTypeConfiguration Class
System.Web.OData.Builder Namespace
Return to top