/// <summary> /// Deprecated Method for adding a new object to the CAIKHOBANHANGs EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToCAIKHOBANHANGs(CAIKHOBANHANG cAIKHOBANHANG) { base.AddObject("CAIKHOBANHANGs", cAIKHOBANHANG); }
/// <summary> /// Create a new CAIKHOBANHANG object. /// </summary> /// <param name="id">Initial value of the ID property.</param> /// <param name="khoBanHang">Initial value of the KhoBanHang property.</param> public static CAIKHOBANHANG CreateCAIKHOBANHANG(global::System.Int32 id, global::System.Int32 khoBanHang) { CAIKHOBANHANG cAIKHOBANHANG = new CAIKHOBANHANG(); cAIKHOBANHANG.ID = id; cAIKHOBANHANG.KhoBanHang = khoBanHang; return cAIKHOBANHANG; }