コード例 #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the ServiceValues EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToServiceValues(ServiceValue serviceValue)
 {
     base.AddObject("ServiceValues", serviceValue);
 }
コード例 #2
0
 /// <summary>
 /// Create a new ServiceValue object.
 /// </summary>
 /// <param name="serviceValueID">Initial value of the ServiceValueID property.</param>
 public static ServiceValue CreateServiceValue(global::System.String serviceValueID)
 {
     ServiceValue serviceValue = new ServiceValue();
     serviceValue.ServiceValueID = serviceValueID;
     return serviceValue;
 }