Пример #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the RealTasks EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToRealTasks(RealTask realTask)
 {
     base.AddObject("RealTasks", realTask);
 }
Пример #2
0
 /// <summary>
 /// Create a new RealTask object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="projectId">Initial value of the ProjectId property.</param>
 /// <param name="parentId">Initial value of the ParentId property.</param>
 /// <param name="name">Initial value of the Name property.</param>
 /// <param name="duration">Initial value of the Duration property.</param>
 /// <param name="percentComplete">Initial value of the PercentComplete property.</param>
 /// <param name="startDateTime">Initial value of the StartDateTime property.</param>
 /// <param name="endDateTime">Initial value of the EndDateTime property.</param>
 /// <param name="notes">Initial value of the Notes property.</param>
 /// <param name="rowNumber">Initial value of the RowNumber property.</param>
 /// <param name="bindingListIndex">Initial value of the BindingListIndex property.</param>
 /// <param name="completeThrough">Initial value of the CompleteThrough property.</param>
 /// <param name="deadLine">Initial value of the DeadLine property.</param>
 /// <param name="durationResolved">Initial value of the DurationResolved property.</param>
 /// <param name="endDateTimeResolved">Initial value of the EndDateTimeResolved property.</param>
 /// <param name="expanded">Initial value of the Expanded property.</param>
 /// <param name="isRoot">Initial value of the IsRoot property.</param>
 /// <param name="isSumary">Initial value of the IsSumary property.</param>
 /// <param name="taskLevel">Initial value of the TaskLevel property.</param>
 /// <param name="milestone">Initial value of the Milestone property.</param>
 /// <param name="milestoneResolved">Initial value of the MilestoneResolved property.</param>
 public static RealTask CreateRealTask(global::System.Int64 id, global::System.Int32 projectId, global::System.Int32 parentId, global::System.String name, global::System.String duration, global::System.Double percentComplete, global::System.DateTime startDateTime, global::System.DateTime endDateTime, global::System.String notes, global::System.Int32 rowNumber, global::System.Int32 bindingListIndex, global::System.DateTime completeThrough, global::System.DateTime deadLine, global::System.String durationResolved, global::System.DateTime endDateTimeResolved, global::System.Boolean expanded, global::System.Boolean isRoot, global::System.Boolean isSumary, global::System.Int32 taskLevel, global::System.Boolean milestone, global::System.Boolean milestoneResolved)
 {
     RealTask realTask = new RealTask();
     realTask.Id = id;
     realTask.ProjectId = projectId;
     realTask.ParentId = parentId;
     realTask.Name = name;
     realTask.Duration = duration;
     realTask.PercentComplete = percentComplete;
     realTask.StartDateTime = startDateTime;
     realTask.EndDateTime = endDateTime;
     realTask.Notes = notes;
     realTask.RowNumber = rowNumber;
     realTask.BindingListIndex = bindingListIndex;
     realTask.CompleteThrough = completeThrough;
     realTask.DeadLine = deadLine;
     realTask.DurationResolved = durationResolved;
     realTask.EndDateTimeResolved = endDateTimeResolved;
     realTask.Expanded = expanded;
     realTask.IsRoot = isRoot;
     realTask.IsSumary = isSumary;
     realTask.TaskLevel = taskLevel;
     realTask.Milestone = milestone;
     realTask.MilestoneResolved = milestoneResolved;
     return realTask;
 }