/// <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; }
/// <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); }