コード例 #1
0
 public BOChiTietNhapKho()
 {
     ChiTietNhapKho = new CHITIETNHAPKHO();
     ChiTietNhapKho.NgaySanXuat = ChiTietNhapKho.NgayHetHan = DateTime.Now;
     ChiTietNhapKho.SoLuongNhap = 1;
     MenuMon = new MENUMON();
     LoaiBan = new LOAIBAN();            
     NhapKho = new NHAPKHO();
 }
コード例 #2
0
 /// <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;
 }
コード例 #3
0
 /// <summary>
 /// Deprecated Method for adding a new object to the NHAPKHOes EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToNHAPKHOes(NHAPKHO nHAPKHO)
 {
     base.AddObject("NHAPKHOes", nHAPKHO);
 }