/// <summary>
 /// Deprecated Method for adding a new object to the Periods EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToPeriods(Period period)
 {
     base.AddObject("Periods", period);
 }
 /// <summary>
 /// Create a new Period object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="template_Id">Initial value of the Template_Id property.</param>
 /// <param name="start_Time">Initial value of the Start_Time property.</param>
 public static Period CreatePeriod(global::System.Int32 id, global::System.Int32 template_Id, global::System.DateTime start_Time)
 {
     Period period = new Period();
     period.Id = id;
     period.Template_Id = template_Id;
     period.Start_Time = start_Time;
     return period;
 }