/// <summary> /// Deprecated Method for adding a new object to the UserRechargeHistories EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToUserRechargeHistories(UserRechargeHistory userRechargeHistory) { base.AddObject("UserRechargeHistories", userRechargeHistory); }
/// <summary> /// Create a new UserRechargeHistory object. /// </summary> /// <param name="autoInc">Initial value of the AutoInc property.</param> /// <param name="userID">Initial value of the UserID property.</param> /// <param name="employeeID">Initial value of the EmployeeID property.</param> /// <param name="dateWithTime">Initial value of the DateWithTime property.</param> /// <param name="minutes">Initial value of the Minutes property.</param> /// <param name="bill">Initial value of the bill property.</param> public static UserRechargeHistory CreateUserRechargeHistory(global::System.Int64 autoInc, global::System.String userID, global::System.String employeeID, global::System.DateTime dateWithTime, global::System.Int32 minutes, global::System.Decimal bill) { UserRechargeHistory userRechargeHistory = new UserRechargeHistory(); userRechargeHistory.AutoInc = autoInc; userRechargeHistory.UserID = userID; userRechargeHistory.EmployeeID = employeeID; userRechargeHistory.DateWithTime = dateWithTime; userRechargeHistory.Minutes = minutes; userRechargeHistory.bill = bill; return userRechargeHistory; }