StructuralTypeConfiguration.AddContainedNavigationProperty Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Adds a contained EDM navigation property to this entity type.
public virtual Microsoft.AspNet.OData.Builder.NavigationPropertyConfiguration AddContainedNavigationProperty (System.Reflection.PropertyInfo navigationProperty, Microsoft.OData.Edm.EdmMultiplicity multiplicity);
abstract member AddContainedNavigationProperty : System.Reflection.PropertyInfo * Microsoft.OData.Edm.EdmMultiplicity -> Microsoft.AspNet.OData.Builder.NavigationPropertyConfiguration
override this.AddContainedNavigationProperty : System.Reflection.PropertyInfo * Microsoft.OData.Edm.EdmMultiplicity -> Microsoft.AspNet.OData.Builder.NavigationPropertyConfiguration
Public Overridable Function AddContainedNavigationProperty (navigationProperty As PropertyInfo, multiplicity As EdmMultiplicity) As NavigationPropertyConfiguration
Parameters
- navigationProperty
- PropertyInfo
The backing CLR property.
- multiplicity
- EdmMultiplicity
The EdmMultiplicity of the navigation property.
Returns
Returns the NavigationPropertyConfiguration of the added property.