예제 #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the SupplierProduct EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToSupplierProduct(SupplierProduct supplierProduct)
 {
     base.AddObject("SupplierProduct", supplierProduct);
 }
예제 #2
0
 /// <summary>
 /// Create a new SupplierProduct object.
 /// </summary>
 /// <param name="supplierProductId">Initial value of the SupplierProductId property.</param>
 /// <param name="accountNumber">Initial value of the AccountNumber property.</param>
 /// <param name="productId">Initial value of the ProductId property.</param>
 /// <param name="averageLeadTime">Initial value of the AverageLeadTime property.</param>
 /// <param name="standardPrice">Initial value of the StandardPrice property.</param>
 /// <param name="lastReceiveCost">Initial value of the LastReceiveCost property.</param>
 /// <param name="lastReceiveDate">Initial value of the LastReceiveDate property.</param>
 /// <param name="minOrderQuantity">Initial value of the MinOrderQuantity property.</param>
 /// <param name="maxOrderQuantity">Initial value of the MaxOrderQuantity property.</param>
 /// <param name="version">Initial value of the Version property.</param>
 public static SupplierProduct CreateSupplierProduct(global::System.Int32 supplierProductId, global::System.Int32 accountNumber, global::System.Int32 productId, global::System.DateTime averageLeadTime, global::System.Decimal standardPrice, global::System.Decimal lastReceiveCost, global::System.DateTime lastReceiveDate, global::System.Int32 minOrderQuantity, global::System.Int32 maxOrderQuantity, global::System.Byte[] version)
 {
     SupplierProduct supplierProduct = new SupplierProduct();
     supplierProduct.SupplierProductId = supplierProductId;
     supplierProduct.AccountNumber = accountNumber;
     supplierProduct.ProductId = productId;
     supplierProduct.AverageLeadTime = averageLeadTime;
     supplierProduct.StandardPrice = standardPrice;
     supplierProduct.LastReceiveCost = lastReceiveCost;
     supplierProduct.LastReceiveDate = lastReceiveDate;
     supplierProduct.MinOrderQuantity = minOrderQuantity;
     supplierProduct.MaxOrderQuantity = maxOrderQuantity;
     supplierProduct.Version = version;
     return supplierProduct;
 }