/// <summary> /// Deprecated Method for adding a new object to the phones EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddTophones(phones phones) { base.AddObject("phones", phones); }
/// <summary> /// Create a new phones object. /// </summary> /// <param name="ph_id">Initial value of the ph_id property.</param> /// <param name="ph_phoneType">Initial value of the ph_phoneType property.</param> /// <param name="ph_phone">Initial value of the ph_phone property.</param> /// <param name="ph_date_inserted">Initial value of the ph_date_inserted property.</param> /// <param name="ph_us_id_inserted">Initial value of the ph_us_id_inserted property.</param> public static phones Createphones(global::System.Int32 ph_id, global::System.Int32 ph_phoneType, global::System.Int32 ph_phone, global::System.DateTime ph_date_inserted, global::System.Int32 ph_us_id_inserted) { phones phones = new phones(); phones.ph_id = ph_id; phones.ph_phoneType = ph_phoneType; phones.ph_phone = ph_phone; phones.ph_date_inserted = ph_date_inserted; phones.ph_us_id_inserted = ph_us_id_inserted; return phones; }