コード例 #1
0
 /// <summary>
 /// Create a new ProgressStatus object.
 /// </summary>
 /// <param name="progressStatusID">Initial value of the ProgressStatusID property.</param>
 /// <param name="isActive">Initial value of the IsActive property.</param>
 public static ProgressStatus CreateProgressStatus(global::System.Int32 progressStatusID, global::System.Boolean isActive)
 {
     ProgressStatus progressStatus = new ProgressStatus();
     progressStatus.ProgressStatusID = progressStatusID;
     progressStatus.IsActive = isActive;
     return progressStatus;
 }
コード例 #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the ProgressStatuses EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToProgressStatuses(ProgressStatus progressStatus)
 {
     base.AddObject("ProgressStatuses", progressStatus);
 }