/// <summary> /// Deprecated Method for adding a new object to the TeamAccounts EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToTeamAccounts(TeamAccount teamAccount) { base.AddObject("TeamAccounts", teamAccount); }
/// <summary> /// Create a new TeamAccount object. /// </summary> /// <param name="name">Initial value of the Name property.</param> /// <param name="minutes">Initial value of the Minutes property.</param> /// <param name="status">Initial value of the Status property.</param> /// <param name="entryDate">Initial value of the EntryDate property.</param> public static TeamAccount CreateTeamAccount(global::System.String name, global::System.Int32 minutes, global::System.Boolean status, global::System.DateTime entryDate) { TeamAccount teamAccount = new TeamAccount(); teamAccount.Name = name; teamAccount.Minutes = minutes; teamAccount.Status = status; teamAccount.EntryDate = entryDate; return teamAccount; }