/// <summary> /// Deprecated Method for adding a new object to the Teams EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToTeams(Teams teams) { base.AddObject("Teams", teams); }
/// <summary> /// Create a new Teams object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="name">Initial value of the Name property.</param> /// <param name="country">Initial value of the Country property.</param> public static Teams CreateTeams(global::System.Int32 id, global::System.String name, global::System.String country) { Teams teams = new Teams(); teams.Id = id; teams.Name = name; teams.Country = country; return teams; }