public BOMenuNhom() { MenuNhom = new MENUNHOM(); MenuLoaiNhom = new MENULOAINHOM(); }
/// <summary> /// Create a new MENUNHOM object. /// </summary> /// <param name="nhomID">Initial value of the NhomID property.</param> /// <param name="sapXep">Initial value of the SapXep property.</param> /// <param name="sLMonChoPhepTonKho">Initial value of the SLMonChoPhepTonKho property.</param> /// <param name="sLMonKhongChoPhepTonKho">Initial value of the SLMonKhongChoPhepTonKho property.</param> /// <param name="sapXepMon">Initial value of the SapXepMon property.</param> /// <param name="giamGia">Initial value of the GiamGia property.</param> /// <param name="visual">Initial value of the Visual property.</param> /// <param name="deleted">Initial value of the Deleted property.</param> public static MENUNHOM CreateMENUNHOM(global::System.Int32 nhomID, global::System.Int32 sapXep, global::System.Int32 sLMonChoPhepTonKho, global::System.Int32 sLMonKhongChoPhepTonKho, global::System.Int32 sapXepMon, global::System.Int32 giamGia, global::System.Boolean visual, global::System.Boolean deleted) { MENUNHOM mENUNHOM = new MENUNHOM(); mENUNHOM.NhomID = nhomID; mENUNHOM.SapXep = sapXep; mENUNHOM.SLMonChoPhepTonKho = sLMonChoPhepTonKho; mENUNHOM.SLMonKhongChoPhepTonKho = sLMonKhongChoPhepTonKho; mENUNHOM.SapXepMon = sapXepMon; mENUNHOM.GiamGia = giamGia; mENUNHOM.Visual = visual; mENUNHOM.Deleted = deleted; return mENUNHOM; }
public static IQueryable<MENUMON> GetAll(KaraokeEntities kara,MENUNHOM nhom) { return kara.MENUMONs.Where(o => o.NhomID == nhom.NhomID && o.Deleted==false); }
/// <summary> /// Deprecated Method for adding a new object to the MENUNHOMs EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToMENUNHOMs(MENUNHOM mENUNHOM) { base.AddObject("MENUNHOMs", mENUNHOM); }
public BOMenuMon() { MenuMon = new MENUMON(); MenuNhom = new MENUNHOM(); }