Exemplo n.º 1
0
 /// <summary>
 /// Create a new Level object.
 /// </summary>
 /// <param name="levelID">Initial value of the LevelID property.</param>
 /// <param name="levelName">Initial value of the LevelName property.</param>
 public static Level CreateLevel(global::System.Int32 levelID, global::System.String levelName)
 {
     Level level = new Level();
     level.LevelID = levelID;
     level.LevelName = levelName;
     return level;
 }
Exemplo n.º 2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Levels EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToLevels(Level level)
 {
     base.AddObject("Levels", level);
 }