예제 #1
0
 public BOChiTietQuyen()
 {
     ChiTietQuyen = new CHITIETQUYEN();
     Quyen = new QUYEN();
     ChucNang = new CHUCNANG();
     QuyenNhanVien = new QUYENNHANVIEN();
     NhomChucNang = new NHOMCHUCNANG();
 }
 /// <summary>
 /// Deprecated Method for adding a new object to the CHUCNANGs EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToCHUCNANGs(CHUCNANG cHUCNANG)
 {
     base.AddObject("CHUCNANGs", cHUCNANG);
 }
 /// <summary>
 /// Create a new CHUCNANG object.
 /// </summary>
 /// <param name="chucNangID">Initial value of the ChucNangID property.</param>
 /// <param name="nhomChucNangID">Initial value of the NhomChucNangID property.</param>
 /// <param name="choPhep">Initial value of the ChoPhep property.</param>
 /// <param name="dangNhap">Initial value of the DangNhap property.</param>
 /// <param name="them">Initial value of the Them property.</param>
 /// <param name="xoa">Initial value of the Xoa property.</param>
 /// <param name="sua">Initial value of the Sua property.</param>
 /// <param name="visual">Initial value of the Visual property.</param>
 /// <param name="deleted">Initial value of the Deleted property.</param>
 /// <param name="edit">Initial value of the Edit property.</param>
 public static CHUCNANG CreateCHUCNANG(global::System.Int32 chucNangID, global::System.Int32 nhomChucNangID, global::System.Boolean choPhep, global::System.Boolean dangNhap, global::System.Boolean them, global::System.Boolean xoa, global::System.Boolean sua, global::System.Boolean visual, global::System.Boolean deleted, global::System.Boolean edit)
 {
     CHUCNANG cHUCNANG = new CHUCNANG();
     cHUCNANG.ChucNangID = chucNangID;
     cHUCNANG.NhomChucNangID = nhomChucNangID;
     cHUCNANG.ChoPhep = choPhep;
     cHUCNANG.DangNhap = dangNhap;
     cHUCNANG.Them = them;
     cHUCNANG.Xoa = xoa;
     cHUCNANG.Sua = sua;
     cHUCNANG.Visual = visual;
     cHUCNANG.Deleted = deleted;
     cHUCNANG.Edit = edit;
     return cHUCNANG;
 }