コード例 #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the IssueStatuses EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToIssueStatuses(IssueStatus issueStatus)
 {
     base.AddObject("IssueStatuses", issueStatus);
 }
コード例 #2
0
 /// <summary>
 /// Create a new IssueStatus object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="name">Initial value of the Name property.</param>
 /// <param name="isClosed">Initial value of the IsClosed property.</param>
 /// <param name="isDefault">Initial value of the IsDefault property.</param>
 public static IssueStatus CreateIssueStatus(global::System.Int32 id, global::System.String name, global::System.Byte isClosed, global::System.Byte isDefault)
 {
     IssueStatus issueStatus = new IssueStatus();
     issueStatus.Id = id;
     issueStatus.Name = name;
     issueStatus.IsClosed = isClosed;
     issueStatus.IsDefault = isDefault;
     return issueStatus;
 }