/// <summary> /// Create a new CarrierContact object. /// </summary> /// <param name="carrierContactID">Initial value of the CarrierContactID property.</param> /// <param name="carrierID">Initial value of the CarrierID property.</param> public static CarrierContact CreateCarrierContact(global::System.Int32 carrierContactID, global::System.Int32 carrierID) { CarrierContact carrierContact = new CarrierContact(); carrierContact.CarrierContactID = carrierContactID; carrierContact.CarrierID = carrierID; return carrierContact; }
/// <summary> /// Deprecated Method for adding a new object to the CarrierContacts EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToCarrierContacts(CarrierContact carrierContact) { base.AddObject("CarrierContacts", carrierContact); }