Ejemplo n.º 1
0
 /// <summary>
 /// Create a new Level object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="number">Initial value of the Number property.</param>
 /// <param name="minimumSumOfAttributes">Initial value of the MinimumSumOfAttributes property.</param>
 /// <param name="levelRankGroupName">Initial value of the LevelRankGroupName property.</param>
 public static Level CreateLevel(global::System.Int32 id, global::System.Int16 number, global::System.Int16 minimumSumOfAttributes, global::System.String levelRankGroupName)
 {
     Level level = new Level();
     level.Id = id;
     level.Number = number;
     level.MinimumSumOfAttributes = minimumSumOfAttributes;
     level.LevelRankGroupName = levelRankGroupName;
     return level;
 }
Ejemplo 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);
 }