Class EfRelationship
Represents a relationship between two entities in the Entity Framework model.
public class EfRelationship
- Inheritance
-
EfRelationship
- Inherited Members
- Extension Methods
Properties
IsRequired
Gets or initializes a value indicating whether the relationship is required.
public bool IsRequired { get; init; }
Property Value
SourceEntity
Gets or initializes the name of the source entity in the relationship.
public string SourceEntity { get; init; }
Property Value
TargetEntity
Gets or initializes the name of the target entity in the relationship.
public string TargetEntity { get; init; }
Property Value
Type
Gets or initializes the type of the relationship (e.g., One-to-One, One-to-Many, Many-to-Many).
public EfRelationshipType Type { get; init; }