/// <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; }
/// <summary> /// Deprecated Method for adding a new object to the Statistics EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToStatistics(Statistic statistic) { base.AddObject("Statistics", statistic); }