Delen via


NavigationExtensions.GetCollectionAccessor(INavigation) Method

Definition

Gets the IClrCollectionAccessor for this navigation property, which must be a collection navigation.

public static Microsoft.EntityFrameworkCore.Metadata.IClrCollectionAccessor GetCollectionAccessor (this Microsoft.EntityFrameworkCore.Metadata.INavigation navigation);
static member GetCollectionAccessor : Microsoft.EntityFrameworkCore.Metadata.INavigation -> Microsoft.EntityFrameworkCore.Metadata.IClrCollectionAccessor
<Extension()>
Public Function GetCollectionAccessor (navigation As INavigation) As IClrCollectionAccessor

Parameters

navigation
INavigation

The navigation property.

Returns

The accessor.

Applies to