IConventionEntityTypeBuilder.HasNoSkipNavigation 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.
Overloads
HasNoSkipNavigation(IConventionSkipNavigation, Boolean) |
Removes a skip navigation from this entity type. |
HasNoSkipNavigation(ISkipNavigation, Boolean) |
Removes a skip navigation from this entity type. |
HasNoSkipNavigation(IConventionSkipNavigation, Boolean)
Removes a skip navigation from this entity type.
public Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionEntityTypeBuilder? HasNoSkipNavigation (Microsoft.EntityFrameworkCore.Metadata.IConventionSkipNavigation skipNavigation, bool fromDataAnnotation = false);
abstract member HasNoSkipNavigation : Microsoft.EntityFrameworkCore.Metadata.IConventionSkipNavigation * bool -> Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionEntityTypeBuilder
Public Function HasNoSkipNavigation (skipNavigation As IConventionSkipNavigation, Optional fromDataAnnotation As Boolean = false) As IConventionEntityTypeBuilder
Parameters
- skipNavigation
- IConventionSkipNavigation
The skip navigation to be removed.
- fromDataAnnotation
- Boolean
Indicates whether the configuration was specified using a data annotation.
Returns
The same builder instance if the skip navigation was removed,
null
otherwise.
Applies to
HasNoSkipNavigation(ISkipNavigation, Boolean)
Removes a skip navigation from this entity type.
public Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionEntityTypeBuilder HasNoSkipNavigation (Microsoft.EntityFrameworkCore.Metadata.ISkipNavigation skipNavigation, bool fromDataAnnotation = false);
abstract member HasNoSkipNavigation : Microsoft.EntityFrameworkCore.Metadata.ISkipNavigation * bool -> Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionEntityTypeBuilder
Public Function HasNoSkipNavigation (skipNavigation As ISkipNavigation, Optional fromDataAnnotation As Boolean = false) As IConventionEntityTypeBuilder
Parameters
- skipNavigation
- ISkipNavigation
The skip navigation to be removed.
- fromDataAnnotation
- Boolean
Indicates whether the configuration was specified using a data annotation.
Returns
The same builder instance if the skip navigation was removed,
null
otherwise.
Applies to
Entity Framework