ReferenceReferenceBuilder.SetDependentEntityType Method

Definition

Overloads

SetDependentEntityType(String)

Sets the entity type that is the dependent of the relationship.

SetDependentEntityType(Type)

Sets the entity type that is the dependent of the relationship.

SetDependentEntityType(String)

Sets the entity type that is the dependent of the relationship.

protected virtual Microsoft.EntityFrameworkCore.Metadata.Internal.InternalRelationshipBuilder SetDependentEntityType (string dependentEntityTypeName);
abstract member SetDependentEntityType : string -> Microsoft.EntityFrameworkCore.Metadata.Internal.InternalRelationshipBuilder
override this.SetDependentEntityType : string -> Microsoft.EntityFrameworkCore.Metadata.Internal.InternalRelationshipBuilder
Protected Overridable Function SetDependentEntityType (dependentEntityTypeName As String) As InternalRelationshipBuilder

Parameters

dependentEntityTypeName
String

The name of the dependent entity type.

Returns

Microsoft.EntityFrameworkCore.Metadata.Internal.InternalRelationshipBuilder

The builder being used to configure this relationship.

Applies to

SetDependentEntityType(Type)

Sets the entity type that is the dependent of the relationship.

protected virtual Microsoft.EntityFrameworkCore.Metadata.Internal.InternalRelationshipBuilder SetDependentEntityType (Type dependentEntityType);
abstract member SetDependentEntityType : Type -> Microsoft.EntityFrameworkCore.Metadata.Internal.InternalRelationshipBuilder
override this.SetDependentEntityType : Type -> Microsoft.EntityFrameworkCore.Metadata.Internal.InternalRelationshipBuilder
Protected Overridable Function SetDependentEntityType (dependentEntityType As Type) As InternalRelationshipBuilder

Parameters

dependentEntityType
Type

The dependent entity type.

Returns

Microsoft.EntityFrameworkCore.Metadata.Internal.InternalRelationshipBuilder

The builder being used to configure this relationship.

Applies to