Ejemplo n.º 1
0
 /// <summary>
 /// Create a new TaskMaster object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="name">Initial value of the Name property.</param>
 /// <param name="detail">Initial value of the Detail property.</param>
 /// <param name="statusId">Initial value of the StatusId property.</param>
 public static TaskMaster CreateTaskMaster(global::System.Guid id, global::System.String name, global::System.String detail, global::System.Guid statusId)
 {
     TaskMaster taskMaster = new TaskMaster();
     taskMaster.Id = id;
     taskMaster.Name = name;
     taskMaster.Detail = detail;
     taskMaster.StatusId = statusId;
     return taskMaster;
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the TaskMasters EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToTaskMasters(TaskMaster taskMaster)
 {
     base.AddObject("TaskMasters", taskMaster);
 }