コード例 #1
0
 /// <summary>
 /// Create a new Status object.
 /// </summary>
 /// <param name="statusID">Initial value of the StatusID property.</param>
 public static Status CreateStatus(global::System.Int32 statusID)
 {
     Status status = new Status();
     status.StatusID = statusID;
     return status;
 }
コード例 #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Statuses EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToStatuses(Status status)
 {
     base.AddObject("Statuses", status);
 }