/// <summary> /// Deprecated Method for adding a new object to the ApplicationStatistics EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToApplicationStatistics(ApplicationStatistic applicationStatistic) { base.AddObject("ApplicationStatistics", applicationStatistic); }
/// <summary> /// Create a new ApplicationStatistic object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="totalQuantity">Initial value of the TotalQuantity property.</param> /// <param name="successQuantity">Initial value of the SuccessQuantity property.</param> /// <param name="failQuantity">Initial value of the FailQuantity property.</param> /// <param name="applicationSequence">Initial value of the ApplicationSequence property.</param> /// <param name="year">Initial value of the Year property.</param> public static ApplicationStatistic CreateApplicationStatistic(global::System.Int32 id, global::System.Int32 totalQuantity, global::System.Int32 successQuantity, global::System.Int32 failQuantity, global::System.Int32 applicationSequence, global::System.Int32 year) { ApplicationStatistic applicationStatistic = new ApplicationStatistic(); applicationStatistic.Id = id; applicationStatistic.TotalQuantity = totalQuantity; applicationStatistic.SuccessQuantity = successQuantity; applicationStatistic.FailQuantity = failQuantity; applicationStatistic.ApplicationSequence = applicationSequence; applicationStatistic.Year = year; return applicationStatistic; }