public BOChiTietNhapKho() { ChiTietNhapKho = new CHITIETNHAPKHO(); ChiTietNhapKho.NgaySanXuat = ChiTietNhapKho.NgayHetHan = DateTime.Now; ChiTietNhapKho.SoLuongNhap = 1; MenuMon = new MENUMON(); LoaiBan = new LOAIBAN(); NhapKho = new NHAPKHO(); }
/// <summary> /// Create a new NHAPKHO object. /// </summary> /// <param name="nhapKhoID">Initial value of the NhapKhoID property.</param> /// <param name="tongTien">Initial value of the TongTien property.</param> /// <param name="deleted">Initial value of the Deleted property.</param> public static NHAPKHO CreateNHAPKHO(global::System.Int32 nhapKhoID, global::System.Decimal tongTien, global::System.Boolean deleted) { NHAPKHO nHAPKHO = new NHAPKHO(); nHAPKHO.NhapKhoID = nhapKhoID; nHAPKHO.TongTien = tongTien; nHAPKHO.Deleted = deleted; return nHAPKHO; }
/// <summary> /// Deprecated Method for adding a new object to the NHAPKHOes EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToNHAPKHOes(NHAPKHO nHAPKHO) { base.AddObject("NHAPKHOes", nHAPKHO); }