Пример #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the TimeGroups EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToTimeGroups(TimeGroup timeGroup)
 {
     base.AddObject("TimeGroups", timeGroup);
 }
Пример #2
0
 /// <summary>
 /// Create a new TimeGroup object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 public static TimeGroup CreateTimeGroup(global::System.Int32 id)
 {
     TimeGroup timeGroup = new TimeGroup();
     timeGroup.Id = id;
     return timeGroup;
 }