/// <summary>
 /// Deprecated Method for adding a new object to the LOAINHANVIENs EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToLOAINHANVIENs(LOAINHANVIEN lOAINHANVIEN)
 {
     base.AddObject("LOAINHANVIENs", lOAINHANVIEN);
 }
 /// <summary>
 /// Create a new LOAINHANVIEN object.
 /// </summary>
 /// <param name="loaiNhanVienID">Initial value of the LoaiNhanVienID property.</param>
 /// <param name="capDo">Initial value of the CapDo property.</param>
 /// <param name="edit">Initial value of the Edit property.</param>
 /// <param name="visual">Initial value of the Visual property.</param>
 /// <param name="deleted">Initial value of the Deleted property.</param>
 public static LOAINHANVIEN CreateLOAINHANVIEN(global::System.Int32 loaiNhanVienID, global::System.Int32 capDo, global::System.Boolean edit, global::System.Boolean visual, global::System.Boolean deleted)
 {
     LOAINHANVIEN lOAINHANVIEN = new LOAINHANVIEN();
     lOAINHANVIEN.LoaiNhanVienID = loaiNhanVienID;
     lOAINHANVIEN.CapDo = capDo;
     lOAINHANVIEN.Edit = edit;
     lOAINHANVIEN.Visual = visual;
     lOAINHANVIEN.Deleted = deleted;
     return lOAINHANVIEN;
 }
 public BONhanVien()
 {
     NhanVien = new NHANVIEN();
     LoaiNhanVien = new LOAINHANVIEN();
 }