コード例 #1
0
 /// <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;
 }
コード例 #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the CarrierInvoiceProfiles EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToCarrierInvoiceProfiles(CarrierInvoiceProfile carrierInvoiceProfile)
 {
     base.AddObject("CarrierInvoiceProfiles", carrierInvoiceProfile);
 }