Class JoinRecord
Represents a parent-child relationship between two entities.
TIP: The ParentID and ChildID switches around for many-to-many relationships depending on the side of the relationship you're accessing.
public class JoinRecord : Entity, IEntity
- Inheritance
-
JoinRecord
- Implements
- Inherited Members
- Extension Methods
Properties
ChildID
The ID of the child IEntity in one-to-many relationships and the ID of the inverse side IEntity in many-to-many relationships.
[AsBsonId]
public object ChildID { get; set; }
Property Value
ParentID
The ID of the parent IEntity for both one-to-many and the owner side of many-to-many relationships.
[AsBsonId]
public object ParentID { get; set; }