/// <summary>
 /// Create a new TransactionHistory object.
 /// </summary>
 /// <param name="transactionID">Initial value of the TransactionID property.</param>
 /// <param name="productID">Initial value of the ProductID property.</param>
 /// <param name="referenceOrderID">Initial value of the ReferenceOrderID property.</param>
 /// <param name="referenceOrderLineID">Initial value of the ReferenceOrderLineID property.</param>
 /// <param name="transactionDate">Initial value of the TransactionDate property.</param>
 /// <param name="transactionType">Initial value of the TransactionType property.</param>
 /// <param name="quantity">Initial value of the Quantity property.</param>
 /// <param name="actualCost">Initial value of the ActualCost property.</param>
 /// <param name="modifiedDate">Initial value of the ModifiedDate property.</param>
 public static TransactionHistory CreateTransactionHistory(global::System.Int32 transactionID, global::System.Int32 productID, global::System.Int32 referenceOrderID, global::System.Int32 referenceOrderLineID, global::System.DateTime transactionDate, global::System.String transactionType, global::System.Int32 quantity, global::System.Decimal actualCost, global::System.DateTime modifiedDate)
 {
     TransactionHistory transactionHistory = new TransactionHistory();
     transactionHistory.TransactionID = transactionID;
     transactionHistory.ProductID = productID;
     transactionHistory.ReferenceOrderID = referenceOrderID;
     transactionHistory.ReferenceOrderLineID = referenceOrderLineID;
     transactionHistory.TransactionDate = transactionDate;
     transactionHistory.TransactionType = transactionType;
     transactionHistory.Quantity = quantity;
     transactionHistory.ActualCost = actualCost;
     transactionHistory.ModifiedDate = modifiedDate;
     return transactionHistory;
 }
 /// <summary>
 /// Deprecated Method for adding a new object to the TransactionHistories EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToTransactionHistories(TransactionHistory transactionHistory)
 {
     base.AddObject("TransactionHistories", transactionHistory);
 }