예제 #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the TimePeriod EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToTimePeriod(TimePeriod timePeriod)
 {
     base.AddObject("TimePeriod", timePeriod);
 }
예제 #2
0
 /// <summary>
 /// Create a new TimePeriod object.
 /// </summary>
 /// <param name="timePeriodID">Initial value of the TimePeriodID property.</param>
 /// <param name="timePeriod1">Initial value of the TimePeriod1 property.</param>
 /// <param name="timePeriodTypeID">Initial value of the TimePeriodTypeID property.</param>
 public static TimePeriod CreateTimePeriod(global::System.Int16 timePeriodID, global::System.String timePeriod1, global::System.Int32 timePeriodTypeID)
 {
     TimePeriod timePeriod = new TimePeriod();
     timePeriod.TimePeriodID = timePeriodID;
     timePeriod.TimePeriod1 = timePeriod1;
     timePeriod.TimePeriodTypeID = timePeriodTypeID;
     return timePeriod;
 }