InvertibleRelationshipBuilderBase Class
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.
Base class used for configuring an invertible relationship.
public abstract class InvertibleRelationshipBuilderBase : Microsoft.EntityFrameworkCore.Infrastructure.IInfrastructure<Microsoft.EntityFrameworkCore.Metadata.Internal.InternalRelationshipBuilder>
public abstract class InvertibleRelationshipBuilderBase : Microsoft.EntityFrameworkCore.Infrastructure.IInfrastructure<Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionForeignKeyBuilder>
type InvertibleRelationshipBuilderBase = class
interface IInfrastructure<InternalRelationshipBuilder>
type InvertibleRelationshipBuilderBase = class
interface IInfrastructure<IConventionForeignKeyBuilder>
Public MustInherit Class InvertibleRelationshipBuilderBase
Implements IInfrastructure(Of InternalRelationshipBuilder)
Public MustInherit Class InvertibleRelationshipBuilderBase
Implements IInfrastructure(Of IConventionForeignKeyBuilder)
- Inheritance
-
InvertibleRelationshipBuilderBase
- Derived
- Implements
-
IInfrastructure<Microsoft.EntityFrameworkCore.Metadata.Internal.InternalRelationshipBuilder> IInfrastructure<IConventionForeignKeyBuilder>
Remarks
See Modeling entity types and relationships for more information and examples.
Constructors
InvertibleRelationshipBuilderBase(IMutableEntityType, IMutableEntityType, IMutableForeignKey) |
This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release. |
InvertibleRelationshipBuilderBase(InternalForeignKeyBuilder, InvertibleRelationshipBuilderBase, Boolean, Boolean, Boolean, Boolean) |
This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release. |
InvertibleRelationshipBuilderBase(InternalRelationshipBuilder, InvertibleRelationshipBuilderBase, Boolean, Boolean, Boolean, Boolean) |
This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release. |
Properties
Builder |
This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release. |
DeclaringEntityType |
Gets the first entity type used to configure this relationship. |
Metadata |
The foreign key that represents this relationship. |
RelatedEntityType |
Gets the second entity type used to configure this relationship. |
Explicit Interface Implementations
IInfrastructure<IConventionForeignKeyBuilder>.Instance |
Gets the value of the property being hidden. |
IInfrastructure<InternalRelationshipBuilder>.Instance |
Gets the internal builder being used to configure this relationship. |
Extension Methods
GetInfrastructure<T>(IInfrastructure<T>) |
Gets the value from a property that is being hidden using IInfrastructure<T>. This method is typically used by database providers (and other extensions). It is generally not used in application code. |
Applies to
Entity Framework