コード例 #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the bvc_OrderPackage EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddTobvc_OrderPackage(bvc_OrderPackage bvc_OrderPackage)
 {
     base.AddObject("bvc_OrderPackage", bvc_OrderPackage);
 }
コード例 #2
0
 /// <summary>
 /// Create a new bvc_OrderPackage object.
 /// </summary>
 /// <param name="bvin">Initial value of the bvin property.</param>
 /// <param name="description">Initial value of the Description property.</param>
 /// <param name="width">Initial value of the Width property.</param>
 /// <param name="height">Initial value of the Height property.</param>
 /// <param name="length">Initial value of the Length property.</param>
 /// <param name="sizeUnits">Initial value of the SizeUnits property.</param>
 /// <param name="weight">Initial value of the Weight property.</param>
 /// <param name="weightUnits">Initial value of the WeightUnits property.</param>
 /// <param name="orderId">Initial value of the OrderId property.</param>
 /// <param name="shippingProviderId">Initial value of the ShippingProviderId property.</param>
 /// <param name="shippingProviderServiceCode">Initial value of the ShippingProviderServiceCode property.</param>
 /// <param name="hasShipped">Initial value of the HasShipped property.</param>
 /// <param name="trackingNumber">Initial value of the TrackingNumber property.</param>
 /// <param name="shipDate">Initial value of the ShipDate property.</param>
 /// <param name="timeInTransit">Initial value of the TimeInTransit property.</param>
 /// <param name="estimatedShippingCost">Initial value of the EstimatedShippingCost property.</param>
 /// <param name="items">Initial value of the Items property.</param>
 /// <param name="lastUpdated">Initial value of the LastUpdated property.</param>
 /// <param name="customProperties">Initial value of the CustomProperties property.</param>
 public static bvc_OrderPackage Createbvc_OrderPackage(global::System.String bvin, global::System.String description, global::System.Decimal width, global::System.Decimal height, global::System.Decimal length, global::System.Int32 sizeUnits, global::System.Decimal weight, global::System.Int32 weightUnits, global::System.String orderId, global::System.String shippingProviderId, global::System.String shippingProviderServiceCode, global::System.Int32 hasShipped, global::System.String trackingNumber, global::System.DateTime shipDate, global::System.Int64 timeInTransit, global::System.Decimal estimatedShippingCost, global::System.String items, global::System.DateTime lastUpdated, global::System.String customProperties)
 {
     bvc_OrderPackage bvc_OrderPackage = new bvc_OrderPackage();
     bvc_OrderPackage.bvin = bvin;
     bvc_OrderPackage.Description = description;
     bvc_OrderPackage.Width = width;
     bvc_OrderPackage.Height = height;
     bvc_OrderPackage.Length = length;
     bvc_OrderPackage.SizeUnits = sizeUnits;
     bvc_OrderPackage.Weight = weight;
     bvc_OrderPackage.WeightUnits = weightUnits;
     bvc_OrderPackage.OrderId = orderId;
     bvc_OrderPackage.ShippingProviderId = shippingProviderId;
     bvc_OrderPackage.ShippingProviderServiceCode = shippingProviderServiceCode;
     bvc_OrderPackage.HasShipped = hasShipped;
     bvc_OrderPackage.TrackingNumber = trackingNumber;
     bvc_OrderPackage.ShipDate = shipDate;
     bvc_OrderPackage.TimeInTransit = timeInTransit;
     bvc_OrderPackage.EstimatedShippingCost = estimatedShippingCost;
     bvc_OrderPackage.Items = items;
     bvc_OrderPackage.LastUpdated = lastUpdated;
     bvc_OrderPackage.CustomProperties = customProperties;
     return bvc_OrderPackage;
 }