예제 #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Waves EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToWaves(Wave wave)
 {
     base.AddObject("Waves", wave);
 }
예제 #2
0
 /// <summary>
 /// Create a new Wave object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="waveNumber">Initial value of the WaveNumber property.</param>
 /// <param name="monsterId">Initial value of the MonsterId property.</param>
 /// <param name="monsterNumber">Initial value of the MonsterNumber property.</param>
 /// <param name="timeWave">Initial value of the TimeWave property.</param>
 /// <param name="timeReload">Initial value of the TimeReload property.</param>
 /// <param name="levelId">Initial value of the LevelId property.</param>
 public static Wave CreateWave(global::System.Int32 id, global::System.Int32 waveNumber, global::System.Int32 monsterId, global::System.Int32 monsterNumber, global::System.Int32 timeWave, global::System.Int32 timeReload, global::System.Int32 levelId)
 {
     Wave wave = new Wave();
     wave.Id = id;
     wave.WaveNumber = waveNumber;
     wave.MonsterId = monsterId;
     wave.MonsterNumber = monsterNumber;
     wave.TimeWave = timeWave;
     wave.TimeReload = timeReload;
     wave.LevelId = levelId;
     return wave;
 }