コード例 #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the StatusValues EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToStatusValues(StatusValue statusValue)
 {
     base.AddObject("StatusValues", statusValue);
 }
コード例 #2
0
 /// <summary>
 /// Create a new StatusValue object.
 /// </summary>
 /// <param name="statusValueID">Initial value of the StatusValueID property.</param>
 /// <param name="description">Initial value of the Description property.</param>
 public static StatusValue CreateStatusValue(global::System.String statusValueID, global::System.String description)
 {
     StatusValue statusValue = new StatusValue();
     statusValue.StatusValueID = statusValueID;
     statusValue.Description = description;
     return statusValue;
 }