/// <summary> /// Deprecated Method for adding a new object to the Tables EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToTables(Table table) { base.AddObject("Tables", table); }
/// <summary> /// Create a new Table object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="position">Initial value of the Position property.</param> /// <param name="participantId">Initial value of the ParticipantId property.</param> /// <param name="pouleA">Initial value of the PouleA property.</param> /// <param name="pouleB">Initial value of the PouleB property.</param> /// <param name="pouleC">Initial value of the PouleC property.</param> /// <param name="pouleD">Initial value of the PouleD property.</param> /// <param name="table1">Initial value of the Table1 property.</param> /// <param name="quarterFinals">Initial value of the QuarterFinals property.</param> /// <param name="semiFinals">Initial value of the SemiFinals property.</param> /// <param name="finals">Initial value of the Finals property.</param> /// <param name="winner">Initial value of the Winner property.</param> /// <param name="totalPoints">Initial value of the TotalPoints property.</param> /// <param name="tableId">Initial value of the TableId property.</param> public static Table CreateTable(global::System.Int32 id, global::System.Int32 position, global::System.Int32 participantId, global::System.Int32 pouleA, global::System.Int32 pouleB, global::System.Int32 pouleC, global::System.Int32 pouleD, global::System.Int32 table1, global::System.Int32 quarterFinals, global::System.Int32 semiFinals, global::System.Int32 finals, global::System.Int32 winner, global::System.Int32 totalPoints, global::System.Int32 tableId) { Table table = new Table(); table.Id = id; table.Position = position; table.ParticipantId = participantId; table.PouleA = pouleA; table.PouleB = pouleB; table.PouleC = pouleC; table.PouleD = pouleD; table.Table1 = table1; table.QuarterFinals = quarterFinals; table.SemiFinals = semiFinals; table.Finals = finals; table.Winner = winner; table.TotalPoints = totalPoints; table.TableId = tableId; return table; }