Пример #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the PhoneNumberTypes EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToPhoneNumberTypes(PhoneNumberType phoneNumberType)
 {
     base.AddObject("PhoneNumberTypes", phoneNumberType);
 }
Пример #2
0
 /// <summary>
 /// Create a new PhoneNumberType object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 public static PhoneNumberType CreatePhoneNumberType(global::System.Int32 id)
 {
     PhoneNumberType phoneNumberType = new PhoneNumberType();
     phoneNumberType.Id = id;
     return phoneNumberType;
 }