예제 #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the HourlyStats EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToHourlyStats(HourlyStats hourlyStats)
 {
     base.AddObject("HourlyStats", hourlyStats);
 }
예제 #2
0
 /// <summary>
 /// Create a new HourlyStats object.
 /// </summary>
 /// <param name="hs_time">Initial value of the hs_time property.</param>
 /// <param name="hs_usersonline">Initial value of the hs_usersonline property.</param>
 /// <param name="hs_newusers">Initial value of the hs_newusers property.</param>
 /// <param name="hs_sentmessages">Initial value of the hs_sentmessages property.</param>
 public static HourlyStats CreateHourlyStats(global::System.DateTime hs_time, global::System.Int32 hs_usersonline, global::System.Int32 hs_newusers, global::System.Int32 hs_sentmessages)
 {
     HourlyStats hourlyStats = new HourlyStats();
     hourlyStats.hs_time = hs_time;
     hourlyStats.hs_usersonline = hs_usersonline;
     hourlyStats.hs_newusers = hs_newusers;
     hourlyStats.hs_sentmessages = hs_sentmessages;
     return hourlyStats;
 }