/// <summary> /// Create a new TransactionHistoryArchive 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 TransactionHistoryArchive CreateTransactionHistoryArchive(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) { TransactionHistoryArchive transactionHistoryArchive = new TransactionHistoryArchive(); transactionHistoryArchive.TransactionID = transactionID; transactionHistoryArchive.ProductID = productID; transactionHistoryArchive.ReferenceOrderID = referenceOrderID; transactionHistoryArchive.ReferenceOrderLineID = referenceOrderLineID; transactionHistoryArchive.TransactionDate = transactionDate; transactionHistoryArchive.TransactionType = transactionType; transactionHistoryArchive.Quantity = quantity; transactionHistoryArchive.ActualCost = actualCost; transactionHistoryArchive.ModifiedDate = modifiedDate; return transactionHistoryArchive; }
/// <summary> /// Deprecated Method for adding a new object to the TransactionHistoryArchives EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToTransactionHistoryArchives(TransactionHistoryArchive transactionHistoryArchive) { base.AddObject("TransactionHistoryArchives", transactionHistoryArchive); }