/// <summary> /// Deprecated Method for adding a new object to the Ranks EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToRanks(Rank rank) { base.AddObject("Ranks", rank); }
/// <summary> /// Create a new Rank object. /// </summary> /// <param name="rankId">Initial value of the RankId property.</param> /// <param name="description">Initial value of the Description property.</param> public static Rank CreateRank(global::System.Int32 rankId, global::System.String description) { Rank rank = new Rank(); rank.RankId = rankId; rank.Description = description; return rank; }