Ejemplo n.º 1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the TaskGroups EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToTaskGroups(TaskGroup taskGroup)
 {
     base.AddObject("TaskGroups", taskGroup);
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Create a new TaskGroup object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="name">Initial value of the Name property.</param>
 /// <param name="datePosted">Initial value of the DatePosted property.</param>
 public static TaskGroup CreateTaskGroup(global::System.Int32 id, global::System.String name, global::System.DateTime datePosted)
 {
     TaskGroup taskGroup = new TaskGroup();
     taskGroup.Id = id;
     taskGroup.Name = name;
     taskGroup.DatePosted = datePosted;
     return taskGroup;
 }
Ejemplo n.º 3
0
 public void Add(TaskGroup taskGroup)
 {
     db.TaskGroups.AddObject(taskGroup);
 }