Esempio n. 1
0
 public Parent(bool testData)
 {
     ParentId    = 1;
     Description = "Test";
     Children    = new List <Child>()
     {
         new Child()
         {
             ChildId     = 45,
             Description = "This is a test"
         },
         new Child()
         {
             ChildId     = 48,
             Description = "This is a test"
         }
     };
     Sibling = new Sibling()
     {
         SiblingId   = 78,
         Description = "Sibling Test",
     };
 }
Esempio n. 2
0
 public Parent()
 {
     Children = new List <Child>();
     Sibling  = new Sibling();
 }