示例#1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Ranks EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToRanks(Rank rank)
 {
     base.AddObject("Ranks", rank);
 }
示例#2
0
 /// <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;
 }