/// <summary> /// Deprecated Method for adding a new object to the Levels EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToLevels(Level level) { base.AddObject("Levels", level); }
/// <summary> /// Create a new Level object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="mapId">Initial value of the MapId property.</param> /// <param name="waves">Initial value of the Waves property.</param> /// <param name="waveId">Initial value of the WaveId property.</param> public static Level CreateLevel(global::System.Int32 id, global::System.Int32 mapId, global::System.Int32 waves, global::System.Int32 waveId) { Level level = new Level(); level.Id = id; level.MapId = mapId; level.Waves = waves; level.WaveId = waveId; return level; }