예제 #1
0
 private void Child_Update(DataAccess.DataModels.PhysicalDetails details)
 {
     using (BypassPropertyChecks)
     {
         details.Height               = Height;
         details.Weight               = Weight;
         details.MeasurementDate      = MeasurementDate;
         details.HairColor            = HairColor;
         details.HairStyle            = HairStyle;
         details.EyeColor             = EyeColor;
         details.EyeGlasses           = EyeGlasses;
         details.EyeContacts          = EyeContacts;
         details.SkinTone             = SkinTone;
         details.RacialEthnicIdentity = RacialEthnicIdentity;
         details.Gender               = Gender;
         details.GenderIdentity       = GenderIdentity;
     }
 }
예제 #2
0
 private void Child_Fetch(DataAccess.DataModels.PhysicalDetails details)
 {
     using (BypassPropertyChecks)
     {
         Height               = details.Height;
         Weight               = details.Weight;
         MeasurementDate      = details.MeasurementDate;
         HairColor            = details.HairColor;
         HairStyle            = details.HairStyle;
         EyeColor             = details.EyeColor;
         EyeGlasses           = details.EyeGlasses;
         EyeContacts          = details.EyeContacts;
         SkinTone             = details.SkinTone;
         RacialEthnicIdentity = details.RacialEthnicIdentity;
         Gender               = details.Gender;
         GenderIdentity       = details.GenderIdentity;
     }
 }
예제 #3
0
 private void Child_Insert(DataAccess.DataModels.PhysicalDetails details)
 {
     Child_Update(details);
 }