/// <summary> /// Deprecated Method for adding a new object to the OfficePhoneSet EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToOfficePhoneSet(OfficePhone officePhone) { base.AddObject("OfficePhoneSet", officePhone); }
/// <summary> /// Create a new OfficePhone object. /// </summary> /// <param name="number">Initial value of the Number property.</param> public static OfficePhone CreateOfficePhone(global::System.Int32 number) { OfficePhone officePhone = new OfficePhone(); officePhone.Number = number; return officePhone; }