/// <summary>
 /// Create a new LOAIKHACHHANG object.
 /// </summary>
 /// <param name="loaiKhachHangID">Initial value of the LoaiKhachHangID property.</param>
 /// <param name="phanTramGiamGia">Initial value of the PhanTramGiamGia 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 LOAIKHACHHANG CreateLOAIKHACHHANG(global::System.Int32 loaiKhachHangID, global::System.Int32 phanTramGiamGia, global::System.Boolean visual, global::System.Boolean deleted, global::System.Boolean edit)
 {
     LOAIKHACHHANG lOAIKHACHHANG = new LOAIKHACHHANG();
     lOAIKHACHHANG.LoaiKhachHangID = loaiKhachHangID;
     lOAIKHACHHANG.PhanTramGiamGia = phanTramGiamGia;
     lOAIKHACHHANG.Visual = visual;
     lOAIKHACHHANG.Deleted = deleted;
     lOAIKHACHHANG.Edit = edit;
     return lOAIKHACHHANG;
 }
Esempio n. 2
0
 public BOKhachHang()
 {
     KhachHang = new KHACHHANG();
     LoaiKhachHang = new LOAIKHACHHANG();
 }
 /// <summary>
 /// Deprecated Method for adding a new object to the LOAIKHACHHANGs EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToLOAIKHACHHANGs(LOAIKHACHHANG lOAIKHACHHANG)
 {
     base.AddObject("LOAIKHACHHANGs", lOAIKHACHHANG);
 }