ReferenceReferenceBuilder.SetDependentEntityType 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
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
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
The builder being used to configure this relationship.
Applies to
Entity Framework
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for