Ejemplo n.º 1
0
 /// <summary>
 /// Create a new bvc_LineItem object.
 /// </summary>
 /// <param name="id">Initial value of the id property.</param>
 /// <param name="bvin">Initial value of the bvin property.</param>
 /// <param name="lastUpdated">Initial value of the LastUpdated property.</param>
 /// <param name="productId">Initial value of the ProductId property.</param>
 /// <param name="quantity">Initial value of the Quantity property.</param>
 /// <param name="orderBvin">Initial value of the OrderBvin property.</param>
 /// <param name="basePrice">Initial value of the BasePrice property.</param>
 /// <param name="discounts">Initial value of the Discounts property.</param>
 /// <param name="adjustedPrice">Initial value of the AdjustedPrice property.</param>
 /// <param name="shippingPortion">Initial value of the ShippingPortion property.</param>
 /// <param name="taxPortion">Initial value of the TaxPortion property.</param>
 /// <param name="lineTotal">Initial value of the LineTotal property.</param>
 /// <param name="customProperties">Initial value of the CustomProperties property.</param>
 /// <param name="quantityReturned">Initial value of the QuantityReturned property.</param>
 /// <param name="quantityShipped">Initial value of the QuantityShipped property.</param>
 /// <param name="productName">Initial value of the ProductName property.</param>
 /// <param name="productShortDescription">Initial value of the ProductShortDescription property.</param>
 /// <param name="productSku">Initial value of the ProductSku property.</param>
 /// <param name="statusCode">Initial value of the StatusCode property.</param>
 /// <param name="statusName">Initial value of the StatusName property.</param>
 /// <param name="additionalDiscount">Initial value of the AdditionalDiscount property.</param>
 /// <param name="adminPrice">Initial value of the AdminPrice property.</param>
 public static bvc_LineItem Createbvc_LineItem(global::System.Int32 id, global::System.String bvin, global::System.DateTime lastUpdated, global::System.String productId, global::System.Decimal quantity, global::System.String orderBvin, global::System.Decimal basePrice, global::System.Decimal discounts, global::System.Decimal adjustedPrice, global::System.Decimal shippingPortion, global::System.Decimal taxPortion, global::System.Decimal lineTotal, global::System.String customProperties, global::System.Decimal quantityReturned, global::System.Decimal quantityShipped, global::System.String productName, global::System.String productShortDescription, global::System.String productSku, global::System.String statusCode, global::System.String statusName, global::System.Decimal additionalDiscount, global::System.Decimal adminPrice)
 {
     bvc_LineItem bvc_LineItem = new bvc_LineItem();
     bvc_LineItem.id = id;
     bvc_LineItem.bvin = bvin;
     bvc_LineItem.LastUpdated = lastUpdated;
     bvc_LineItem.ProductId = productId;
     bvc_LineItem.Quantity = quantity;
     bvc_LineItem.OrderBvin = orderBvin;
     bvc_LineItem.BasePrice = basePrice;
     bvc_LineItem.Discounts = discounts;
     bvc_LineItem.AdjustedPrice = adjustedPrice;
     bvc_LineItem.ShippingPortion = shippingPortion;
     bvc_LineItem.TaxPortion = taxPortion;
     bvc_LineItem.LineTotal = lineTotal;
     bvc_LineItem.CustomProperties = customProperties;
     bvc_LineItem.QuantityReturned = quantityReturned;
     bvc_LineItem.QuantityShipped = quantityShipped;
     bvc_LineItem.ProductName = productName;
     bvc_LineItem.ProductShortDescription = productShortDescription;
     bvc_LineItem.ProductSku = productSku;
     bvc_LineItem.StatusCode = statusCode;
     bvc_LineItem.StatusName = statusName;
     bvc_LineItem.AdditionalDiscount = additionalDiscount;
     bvc_LineItem.AdminPrice = adminPrice;
     return bvc_LineItem;
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the bvc_LineItem EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddTobvc_LineItem(bvc_LineItem bvc_LineItem)
 {
     base.AddObject("bvc_LineItem", bvc_LineItem);
 }