/// <summary>
 /// Deprecated Method for adding a new object to the Rank EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToRank(Rank rank)
 {
     base.AddObject("Rank", rank);
 }
 /// <summary>
 /// Create a new Rank object.
 /// </summary>
 /// <param name="rankID">Initial value of the RankID property.</param>
 /// <param name="rankTreshold">Initial value of the RankTreshold property.</param>
 /// <param name="rankName">Initial value of the RankName property.</param>
 /// <param name="iconName">Initial value of the IconName property.</param>
 /// <param name="percents">Initial value of the Percents property.</param>
 public static Rank CreateRank(global::System.Int32 rankID, global::System.Decimal rankTreshold, global::System.String rankName, global::System.String iconName, global::System.Double percents)
 {
     Rank rank = new Rank();
     rank.RankID = rankID;
     rank.RankTreshold = rankTreshold;
     rank.RankName = rankName;
     rank.IconName = iconName;
     rank.Percents = percents;
     return rank;
 }