ODataResourceSerializer.CreateNavigationLink 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.
Creates the ODataNestedResourceInfo to be written while writing this entity.
public virtual Microsoft.OData.ODataNestedResourceInfo CreateNavigationLink (Microsoft.OData.Edm.IEdmNavigationProperty navigationProperty, Microsoft.AspNet.OData.ResourceContext resourceContext);
abstract member CreateNavigationLink : Microsoft.OData.Edm.IEdmNavigationProperty * Microsoft.AspNet.OData.ResourceContext -> Microsoft.OData.ODataNestedResourceInfo
override this.CreateNavigationLink : Microsoft.OData.Edm.IEdmNavigationProperty * Microsoft.AspNet.OData.ResourceContext -> Microsoft.OData.ODataNestedResourceInfo
Public Overridable Function CreateNavigationLink (navigationProperty As IEdmNavigationProperty, resourceContext As ResourceContext) As ODataNestedResourceInfo
Parameters
- navigationProperty
- IEdmNavigationProperty
The navigation property for which the navigation link is being created.
- resourceContext
- ResourceContext
The context for the entity instance being written.
Returns
The navigation link to be written.