예제 #1
0
 /// <summary>
 /// Create a new ToolInventoryHistory object.
 /// </summary>
 /// <param name="toolInventoryHistoryID">Initial value of the ToolInventoryHistoryID property.</param>
 /// <param name="toolID">Initial value of the ToolID property.</param>
 /// <param name="unitPrice">Initial value of the UnitPrice property.</param>
 /// <param name="quantity">Initial value of the Quantity property.</param>
 /// <param name="toolInventoryHistoryDate">Initial value of the ToolInventoryHistoryDate property.</param>
 public static ToolInventoryHistory CreateToolInventoryHistory(global::System.Int32 toolInventoryHistoryID, global::System.Int32 toolID, global::System.Decimal unitPrice, global::System.Decimal quantity, global::System.DateTime toolInventoryHistoryDate)
 {
     ToolInventoryHistory toolInventoryHistory = new ToolInventoryHistory();
     toolInventoryHistory.ToolInventoryHistoryID = toolInventoryHistoryID;
     toolInventoryHistory.ToolID = toolID;
     toolInventoryHistory.UnitPrice = unitPrice;
     toolInventoryHistory.Quantity = quantity;
     toolInventoryHistory.ToolInventoryHistoryDate = toolInventoryHistoryDate;
     return toolInventoryHistory;
 }
예제 #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the ToolInventoryHistories EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToToolInventoryHistories(ToolInventoryHistory toolInventoryHistory)
 {
     base.AddObject("ToolInventoryHistories", toolInventoryHistory);
 }