/// <summary> /// Create a new BAOCAONHANVIEN object. /// </summary> /// <param name="id">Initial value of the ID property.</param> /// <param name="ngayBan">Initial value of the NgayBan property.</param> /// <param name="tenNhanVien">Initial value of the TenNhanVien property.</param> /// <param name="soHoaDon">Initial value of the SoHoaDon property.</param> /// <param name="soLuongBan">Initial value of the SoLuongBan property.</param> /// <param name="tongTien">Initial value of the TongTien property.</param> public static BAOCAONHANVIEN CreateBAOCAONHANVIEN(global::System.Int32 id, global::System.DateTime ngayBan, global::System.String tenNhanVien, global::System.Int32 soHoaDon, global::System.Int32 soLuongBan, global::System.Decimal tongTien) { BAOCAONHANVIEN bAOCAONHANVIEN = new BAOCAONHANVIEN(); bAOCAONHANVIEN.ID = id; bAOCAONHANVIEN.NgayBan = ngayBan; bAOCAONHANVIEN.TenNhanVien = tenNhanVien; bAOCAONHANVIEN.SoHoaDon = soHoaDon; bAOCAONHANVIEN.SoLuongBan = soLuongBan; bAOCAONHANVIEN.TongTien = tongTien; return bAOCAONHANVIEN; }
/// <summary> /// Deprecated Method for adding a new object to the BAOCAONHANVIENs EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToBAOCAONHANVIENs(BAOCAONHANVIEN bAOCAONHANVIEN) { base.AddObject("BAOCAONHANVIENs", bAOCAONHANVIEN); }