Example #1
0
 /// <summary>
 /// Create a new Timezone object.
 /// </summary>
 /// <param name="timezoneID">Initial value of the TimezoneID property.</param>
 /// <param name="timezoneRegionID">Initial value of the TimezoneRegionID property.</param>
 /// <param name="uTCOffset">Initial value of the UTCOffset property.</param>
 public static Timezone CreateTimezone(global::System.Int64 timezoneID, global::System.Int64 timezoneRegionID, global::System.Double uTCOffset)
 {
     Timezone timezone = new Timezone();
     timezone.TimezoneID = timezoneID;
     timezone.TimezoneRegionID = timezoneRegionID;
     timezone.UTCOffset = uTCOffset;
     return timezone;
 }
Example #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Timezones EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToTimezones(Timezone timezone)
 {
     base.AddObject("Timezones", timezone);
 }