コード例 #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the ProductBreakUpSummaries EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToProductBreakUpSummaries(ProductBreakUpSummary productBreakUpSummary)
 {
     base.AddObject("ProductBreakUpSummaries", productBreakUpSummary);
 }
コード例 #2
0
 /// <summary>
 /// Create a new ProductBreakUpSummary object.
 /// </summary>
 /// <param name="productBreakUpSummaryID">Initial value of the ProductBreakUpSummaryID property.</param>
 /// <param name="numberOfPieces">Initial value of the NumberOfPieces property.</param>
 /// <param name="colorID">Initial value of the ColorID property.</param>
 /// <param name="productSizeID">Initial value of the ProductSizeID property.</param>
 public static ProductBreakUpSummary CreateProductBreakUpSummary(global::System.Int64 productBreakUpSummaryID, global::System.Decimal numberOfPieces, global::System.Int32 colorID, global::System.Int64 productSizeID)
 {
     ProductBreakUpSummary productBreakUpSummary = new ProductBreakUpSummary();
     productBreakUpSummary.ProductBreakUpSummaryID = productBreakUpSummaryID;
     productBreakUpSummary.NumberOfPieces = numberOfPieces;
     productBreakUpSummary.ColorID = colorID;
     productBreakUpSummary.ProductSizeID = productSizeID;
     return productBreakUpSummary;
 }