Exemplo n.º 1
0
 /// <summary>
 /// Create a new EncounterMonster object.
 /// </summary>
 /// <param name="encounterID">Initial value of the EncounterID property.</param>
 /// <param name="monsterID">Initial value of the MonsterID property.</param>
 public static EncounterMonster CreateEncounterMonster(global::System.Int32 encounterID, global::System.Int32 monsterID)
 {
     EncounterMonster encounterMonster = new EncounterMonster();
     encounterMonster.EncounterID = encounterID;
     encounterMonster.MonsterID = monsterID;
     return encounterMonster;
 }
Exemplo n.º 2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the EncounterMonsters EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToEncounterMonsters(EncounterMonster encounterMonster)
 {
     base.AddObject("EncounterMonsters", encounterMonster);
 }