/// <summary> /// Deprecated Method for adding a new object to the Problem EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToProblem(Problem problem) { base.AddObject("Problem", problem); }
/// <summary> /// Create a new Problem object. /// </summary> /// <param name="problemID">Initial value of the ProblemID property.</param> /// <param name="projectID">Initial value of the ProjectID property.</param> /// <param name="problemType">Initial value of the ProblemType property.</param> /// <param name="name">Initial value of the Name property.</param> /// <param name="status">Initial value of the Status property.</param> /// <param name="areaID">Initial value of the AreaID property.</param> /// <param name="iterationID">Initial value of the IterationID property.</param> /// <param name="isTriaged">Initial value of the IsTriaged property.</param> /// <param name="isBlocking">Initial value of the IsBlocking property.</param> /// <param name="isSyncable">Initial value of the IsSyncable property.</param> /// <param name="createdBy">Initial value of the CreatedBy property.</param> /// <param name="createdDateUtc">Initial value of the CreatedDateUtc property.</param> /// <param name="createdSystemID">Initial value of the CreatedSystemID property.</param> /// <param name="lastModifiedBy">Initial value of the LastModifiedBy property.</param> /// <param name="lastModifiedDateUtc">Initial value of the LastModifiedDateUtc property.</param> /// <param name="lastModifiedSystemID">Initial value of the LastModifiedSystemID property.</param> /// <param name="versionNumber">Initial value of the VersionNumber property.</param> public static Problem CreateProblem(global::System.Int32 problemID, global::System.Int32 projectID, global::System.Int32 problemType, global::System.String name, global::System.String status, global::System.Int32 areaID, global::System.Int32 iterationID, global::System.Boolean isTriaged, global::System.Boolean isBlocking, global::System.Boolean isSyncable, global::System.String createdBy, global::System.DateTime createdDateUtc, global::System.Int32 createdSystemID, global::System.String lastModifiedBy, global::System.DateTime lastModifiedDateUtc, global::System.Int32 lastModifiedSystemID, global::System.Int64 versionNumber) { Problem problem = new Problem(); problem.ProblemID = problemID; problem.ProjectID = projectID; problem.ProblemType = problemType; problem.Name = name; problem.Status = status; problem.AreaID = areaID; problem.IterationID = iterationID; problem.IsTriaged = isTriaged; problem.IsBlocking = isBlocking; problem.IsSyncable = isSyncable; problem.CreatedBy = createdBy; problem.CreatedDateUtc = createdDateUtc; problem.CreatedSystemID = createdSystemID; problem.LastModifiedBy = lastModifiedBy; problem.LastModifiedDateUtc = lastModifiedDateUtc; problem.LastModifiedSystemID = lastModifiedSystemID; problem.VersionNumber = versionNumber; return problem; }