/// <summary> /// Deprecated Method for adding a new object to the Tasks EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToTasks(Task task) { base.AddObject("Tasks", task); }
/// <summary> /// Create a new Task object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="statusId">Initial value of the StatusId property.</param> /// <param name="createdId">Initial value of the CreatedId property.</param> /// <param name="summary">Initial value of the Summary property.</param> /// <param name="createdDate">Initial value of the CreatedDate property.</param> /// <param name="modifiedDate">Initial value of the ModifiedDate property.</param> /// <param name="rowVersion">Initial value of the RowVersion property.</param> public static Task CreateTask(global::System.Int32 id, global::System.Int32 statusId, global::System.Int32 createdId, global::System.String summary, global::System.DateTime createdDate, global::System.DateTime modifiedDate, global::System.Byte[] rowVersion) { Task task = new Task(); task.Id = id; task.StatusId = statusId; task.CreatedId = createdId; task.Summary = summary; task.CreatedDate = createdDate; task.ModifiedDate = modifiedDate; task.RowVersion = rowVersion; return task; }