示例#1
0
 public ParentRelationship(Person personId, ParentChildModifier parentChildType)
 {
     RelationshipType         = RelationshipType.Parent;
     this.RelationTo          = personId;
     this.parentChildModifier = parentChildType;
 }
示例#2
0
 public SpouseRelationship(Person person, SpouseModifier spouseType)
 {
     RelationshipType    = RelationshipType.Spouse;
     this.spouseModifier = spouseType;
     this.RelationTo     = person;
 }
示例#3
0
 public SiblingRelationship(Person person)
 {
     RelationshipType = RelationshipType.Sibling;
     this.RelationTo  = person;
 }
示例#4
0
 public ChildRelationship(Person person, ParentChildModifier parentChildType)
 {
     RelationshipType         = RelationshipType.Child;
     this.RelationTo          = person;
     this.parentChildModifier = parentChildType;
 }