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