/// <summary> /// Deprecated Method for adding a new object to the PhoneNumberTypes EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToPhoneNumberTypes(PhoneNumberType phoneNumberType) { base.AddObject("PhoneNumberTypes", phoneNumberType); }
/// <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; }