/// <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(Tables tables) { base.AddObject("Tables", tables); }
/// <summary> /// Create a new Tables object. /// </summary> /// <param name="tableId">Initial value of the TableId property.</param> /// <param name="createdOn">Initial value of the CreatedOn property.</param> /// <param name="divisionId">Initial value of the DivisionId property.</param> /// <param name="seasonId">Initial value of the SeasonId property.</param> /// <param name="selfCalculated">Initial value of the SelfCalculated property.</param> public static Tables CreateTables(global::System.Int64 tableId, global::System.DateTime createdOn, global::System.Int64 divisionId, global::System.Int64 seasonId, global::System.Boolean selfCalculated) { Tables tables = new Tables(); tables.TableId = tableId; tables.CreatedOn = createdOn; tables.DivisionId = divisionId; tables.SeasonId = seasonId; tables.SelfCalculated = selfCalculated; return tables; }