Beispiel #1
0
 public static Family AddNewFor(Client child)
 {
     var fam = new Family() { Name = "Een gezin", Address = new Address { Street="Urselweg", NumberBus="21A", PostalCode="9990", City="Maldegem", Country="België" }, IsExpanded = true };
     RelationFactory.AddNewFor(fam);
     child.Families.Add(fam);
     return fam;
 }
Beispiel #2
0
 public static Relation AddNewFor(Family fam)
 {
     var relation = new Relation { Family = fam, IsExpanded = true };
     fam.Relations.Add(relation);
     return relation;
 }
Beispiel #3
0
 public void RemoveFamily(Family family)
 {
     child.Families.Remove(family);
     NotifyOfPropertyChange(() => HasFamily);
 }
Beispiel #4
0
 public void AddRelation(Family fam)
 {
     RelationFactory.AddNewFor(fam);
 }