public static void InsertFunctionofGroup(string MaNhomNhanVien, string MaTinhNang)
 {
     using (DB_HMS_Entities Group = new DB_HMS_Entities())
     {
         tbTINHNANGNHOMND lst = new tbTINHNANGNHOMND();
         lst.MATINHNANG = MaTinhNang;
         lst.MANHOMND = MaNhomNhanVien;
         lst.NGAYTAO = DateTime.Today;
         Group.AddTotbTINHNANGNHOMNDs(lst);
         Group.SaveChanges();
     }
 }
 /// <summary>
 /// Deprecated Method for adding a new object to the tbTINHNANGNHOMNDs EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddTotbTINHNANGNHOMNDs(tbTINHNANGNHOMND tbTINHNANGNHOMND)
 {
     base.AddObject("tbTINHNANGNHOMNDs", tbTINHNANGNHOMND);
 }
 /// <summary>
 /// Create a new tbTINHNANGNHOMND object.
 /// </summary>
 /// <param name="mANHOMND">Initial value of the MANHOMND property.</param>
 /// <param name="mATINHNANG">Initial value of the MATINHNANG property.</param>
 public static tbTINHNANGNHOMND CreatetbTINHNANGNHOMND(global::System.String mANHOMND, global::System.String mATINHNANG)
 {
     tbTINHNANGNHOMND tbTINHNANGNHOMND = new tbTINHNANGNHOMND();
     tbTINHNANGNHOMND.MANHOMND = mANHOMND;
     tbTINHNANGNHOMND.MATINHNANG = mATINHNANG;
     return tbTINHNANGNHOMND;
 }