예제 #1
0
 /// <summary>
 /// Create a new Statistic object.
 /// </summary>
 /// <param name="statID">Initial value of the StatID property.</param>
 public static Statistic CreateStatistic(global::System.Int32 statID)
 {
     Statistic statistic = new Statistic();
     statistic.StatID = statID;
     return statistic;
 }
예제 #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Statistics EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToStatistics(Statistic statistic)
 {
     base.AddObject("Statistics", statistic);
 }