/// <summary> /// Deprecated Method for adding a new object to the TeamRechargeHistories EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToTeamRechargeHistories(TeamRechargeHistory teamRechargeHistory) { base.AddObject("TeamRechargeHistories", teamRechargeHistory); }
/// <summary> /// Create a new TeamRechargeHistory object. /// </summary> /// <param name="autoInc">Initial value of the AutoInc property.</param> /// <param name="name">Initial value of the Name 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 TeamRechargeHistory CreateTeamRechargeHistory(global::System.Int64 autoInc, global::System.String name, global::System.String employeeID, global::System.DateTime dateWithTime, global::System.Int32 minutes, global::System.Decimal bill) { TeamRechargeHistory teamRechargeHistory = new TeamRechargeHistory(); teamRechargeHistory.AutoInc = autoInc; teamRechargeHistory.Name = name; teamRechargeHistory.EmployeeID = employeeID; teamRechargeHistory.DateWithTime = dateWithTime; teamRechargeHistory.Minutes = minutes; teamRechargeHistory.bill = bill; return teamRechargeHistory; }