Exemplo n.º 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 CHITIETQUYENs EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToCHITIETQUYENs(CHITIETQUYEN cHITIETQUYEN)
 {
     base.AddObject("CHITIETQUYENs", cHITIETQUYEN);
 }
 /// <summary>
 /// Create a new CHITIETQUYEN object.
 /// </summary>
 /// <param name="chiTietQuyenID">Initial value of the ChiTietQuyenID 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="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 CHITIETQUYEN CreateCHITIETQUYEN(global::System.Int32 chiTietQuyenID, 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 edit, global::System.Boolean visual, global::System.Boolean deleted)
 {
     CHITIETQUYEN cHITIETQUYEN = new CHITIETQUYEN();
     cHITIETQUYEN.ChiTietQuyenID = chiTietQuyenID;
     cHITIETQUYEN.NhomChucNangID = nhomChucNangID;
     cHITIETQUYEN.ChoPhep = choPhep;
     cHITIETQUYEN.DangNhap = dangNhap;
     cHITIETQUYEN.Them = them;
     cHITIETQUYEN.Xoa = xoa;
     cHITIETQUYEN.Sua = sua;
     cHITIETQUYEN.Edit = edit;
     cHITIETQUYEN.Visual = visual;
     cHITIETQUYEN.Deleted = deleted;
     return cHITIETQUYEN;
 }