Share via


IConventionSkipNavigationBuilder Interface

Definition

Provides a simple API surface for configuring an IConventionSkipNavigation from conventions.

This interface is typically used by database providers (and other extensions). It is generally not used in application code.

public interface IConventionSkipNavigationBuilder : Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionPropertyBaseBuilder
public interface IConventionSkipNavigationBuilder : Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionPropertyBaseBuilder<Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionSkipNavigationBuilder>
type IConventionSkipNavigationBuilder = interface
    interface IConventionPropertyBaseBuilder
    interface IConventionAnnotatableBuilder
type IConventionSkipNavigationBuilder = interface
    interface IConventionPropertyBaseBuilder<IConventionSkipNavigationBuilder>
    interface IConventionAnnotatableBuilder
Public Interface IConventionSkipNavigationBuilder
Implements IConventionPropertyBaseBuilder
Public Interface IConventionSkipNavigationBuilder
Implements IConventionPropertyBaseBuilder(Of IConventionSkipNavigationBuilder)
Implements

Remarks

See Model building conventions for more information and examples.

Properties

Metadata

Gets the navigation property being configured.

ModelBuilder

Gets the model builder.

(Inherited from IConventionAnnotatableBuilder)

Methods

AutoInclude(Nullable<Boolean>, Boolean)

Configures this navigation to be automatically included in a query.

CanRemoveAnnotation(String, Boolean)

Returns a value indicating whether an annotation with the given name can be removed using this configuration source.

(Inherited from IConventionAnnotatableBuilder)
CanSetAnnotation(String, Object, Boolean)

Returns a value indicating whether an annotation with the given name and value can be set from this configuration source.

(Inherited from IConventionAnnotatableBuilder)
CanSetAutoInclude(Nullable<Boolean>, Boolean)

Returns a value indicating whether this navigation can be configured to be automatically included in a query from the current configuration source.

CanSetField(FieldInfo, Boolean)

Returns a value indicating whether the backing field can be set for this property-like object from the current configuration source.

(Inherited from IConventionPropertyBaseBuilder<TBuilder>)
CanSetField(String, Boolean)

Returns a value indicating whether the backing field can be set for this property-like object from the current configuration source.

(Inherited from IConventionPropertyBaseBuilder<TBuilder>)
CanSetForeignKey(IConventionForeignKey, Boolean)

Returns a value indicating whether the ForeignKey can be set for this navigation from the given configuration source.

CanSetInverse(IConventionSkipNavigation, Boolean)

Returns a value indicating whether the Inverse can be set for this navigation from the given configuration source.

CanSetLazyLoadingEnabled(Nullable<Boolean>, Boolean)

Returns a value indicating whether this navigation can be configured to enable lazy-loading from the current configuration source.

CanSetPropertyAccessMode(Nullable<PropertyAccessMode>, Boolean)

Returns a value indicating whether the PropertyAccessMode can be set for this property-like object from the current configuration source.

(Inherited from IConventionPropertyBaseBuilder<TBuilder>)
EnableLazyLoading(Nullable<Boolean>, Boolean)

Configures this navigation to be enabled for lazy-loading.

HasAnnotation(String, Object, Boolean)

Sets the annotation stored under the given name. Overwrites the existing annotation if an annotation with the specified name already exists with same or lower ConfigurationSource.

(Inherited from IConventionPropertyBaseBuilder<TBuilder>)
HasField(FieldInfo, Boolean)

Sets the backing field to use for this navigation.

HasField(String, Boolean)

Sets the backing field to use for this navigation.

HasForeignKey(IConventionForeignKey, Boolean)

Sets the foreign key.

HasInverse(IConventionSkipNavigation, Boolean)

Sets the inverse skip navigation.

HasNoAnnotation(String, Boolean)

Removes the annotation with the given name from this object.

(Inherited from IConventionPropertyBaseBuilder<TBuilder>)
HasNonNullAnnotation(String, Object, Boolean)

Sets the annotation stored under the given name. Overwrites the existing annotation if an annotation with the specified name already exists with same or lower ConfigurationSource. Removes the annotation if null value is specified.

(Inherited from IConventionPropertyBaseBuilder<TBuilder>)
RemoveAnnotation(String, Boolean)
Obsolete.

Removes the annotation with the given name from this object.

(Inherited from IConventionAnnotatableBuilder)
SetOrRemoveAnnotation(String, Object, Boolean)
Obsolete.

Sets or removes the annotation stored under the given name.

(Inherited from IConventionAnnotatableBuilder)
UsePropertyAccessMode(Nullable<PropertyAccessMode>, Boolean)

Sets the PropertyAccessMode to use for this navigation.

Applies to