コード例 #1
0
        public void AddFamilySocial(Common.FamilySocial fs)
        {
            DataLayer.PatientsHandler dap = new DataLayer.PatientsHandler();

            fs.FamilySocialId = Guid.NewGuid();

            this.AddFamilySocialToDatabase(fs);
        }
コード例 #2
0
 public void AddFamilySocial(Common.FamilySocial familySocial)
 {
     this.Entities.FamilySocials.Add(familySocial);
     this.Entities.SaveChanges();
 }
コード例 #3
0
 private void AddFamilySocialToDatabase(Common.FamilySocial familySocial)
 {
     new DataLayer.PatientsHandler().AddFamilySocial(familySocial);
 }