/// <summary> /// Create a new CarrierInvoiceProfile object. /// </summary> /// <param name="carrierInvoiceProfileID">Initial value of the CarrierInvoiceProfileID property.</param> /// <param name="carrierID">Initial value of the CarrierID property.</param> /// <param name="profileName">Initial value of the ProfileName property.</param> /// <param name="isActive">Initial value of the IsActive property.</param> public static CarrierInvoiceProfile CreateCarrierInvoiceProfile(global::System.Int32 carrierInvoiceProfileID, global::System.Int32 carrierID, global::System.String profileName, global::System.Boolean isActive) { CarrierInvoiceProfile carrierInvoiceProfile = new CarrierInvoiceProfile(); carrierInvoiceProfile.CarrierInvoiceProfileID = carrierInvoiceProfileID; carrierInvoiceProfile.CarrierID = carrierID; carrierInvoiceProfile.ProfileName = profileName; carrierInvoiceProfile.IsActive = isActive; return carrierInvoiceProfile; }
/// <summary> /// Deprecated Method for adding a new object to the CarrierInvoiceProfiles EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToCarrierInvoiceProfiles(CarrierInvoiceProfile carrierInvoiceProfile) { base.AddObject("CarrierInvoiceProfiles", carrierInvoiceProfile); }