/// <summary>
 /// Create a new SaleItem object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="saleItem_Item">Initial value of the SaleItem_Item property.</param>
 /// <param name="grossWeight">Initial value of the GrossWeight property.</param>
 /// <param name="tearWeight">Initial value of the TearWeight property.</param>
 /// <param name="rate">Initial value of the Rate property.</param>
 /// <param name="sale_SaleItem">Initial value of the Sale_SaleItem property.</param>
 /// <param name="rowVersion">Initial value of the RowVersion property.</param>
 public static SaleItem CreateSaleItem(global::System.Int32 id, global::System.Int32 saleItem_Item, global::System.Double grossWeight, global::System.Double tearWeight, global::System.Decimal rate, global::System.Int32 sale_SaleItem, global::System.Byte[] rowVersion)
 {
     SaleItem saleItem = new SaleItem();
     saleItem.Id = id;
     saleItem.SaleItem_Item = saleItem_Item;
     saleItem.GrossWeight = grossWeight;
     saleItem.TearWeight = tearWeight;
     saleItem.Rate = rate;
     saleItem.Sale_SaleItem = sale_SaleItem;
     saleItem.RowVersion = rowVersion;
     return saleItem;
 }
 /// <summary>
 /// Deprecated Method for adding a new object to the SaleItems EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToSaleItems(SaleItem saleItem)
 {
     base.AddObject("SaleItems", saleItem);
 }