IConventionEntityTypeBuilder.CanRemoveSkipNavigation Method

Definition

Overloads

CanRemoveSkipNavigation(IConventionSkipNavigation, Boolean)

Returns a value indicating whether the skip navigation can be removed from this entity type.

CanRemoveSkipNavigation(ISkipNavigation, Boolean)

Returns a value indicating whether the skip navigation can be removed from this entity type.

CanRemoveSkipNavigation(IConventionSkipNavigation, Boolean)

Returns a value indicating whether the skip navigation can be removed from this entity type.

public bool CanRemoveSkipNavigation (Microsoft.EntityFrameworkCore.Metadata.IConventionSkipNavigation skipNavigation, bool fromDataAnnotation = false);
abstract member CanRemoveSkipNavigation : Microsoft.EntityFrameworkCore.Metadata.IConventionSkipNavigation * bool -> bool
Public Function CanRemoveSkipNavigation (skipNavigation As IConventionSkipNavigation, Optional fromDataAnnotation As Boolean = false) As Boolean

Parameters

skipNavigation
IConventionSkipNavigation

The skip navigation to be removed.

fromDataAnnotation
Boolean

Indicates whether the configuration was specified using a data annotation.

Returns

true if the skip navigation can be removed from this entity type.

Applies to

CanRemoveSkipNavigation(ISkipNavigation, Boolean)

Returns a value indicating whether the skip navigation can be removed from this entity type.

public bool CanRemoveSkipNavigation (Microsoft.EntityFrameworkCore.Metadata.ISkipNavigation skipNavigation, bool fromDataAnnotation = false);
abstract member CanRemoveSkipNavigation : Microsoft.EntityFrameworkCore.Metadata.ISkipNavigation * bool -> bool
Public Function CanRemoveSkipNavigation (skipNavigation As ISkipNavigation, Optional fromDataAnnotation As Boolean = false) As Boolean

Parameters

skipNavigation
ISkipNavigation

The skip navigation to be removed.

fromDataAnnotation
Boolean

Indicates whether the configuration was specified using a data annotation.

Returns

true if the skip navigation can be removed from this entity type.

Applies to