Пример #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the RepairOrderDetails EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToRepairOrderDetails(RepairOrderDetail repairOrderDetail)
 {
     base.AddObject("RepairOrderDetails", repairOrderDetail);
 }
Пример #2
0
 /// <summary>
 /// Create a new RepairOrderDetail object.
 /// </summary>
 /// <param name="repairOrderDetailID">Initial value of the RepairOrderDetailID property.</param>
 /// <param name="repairOrderID">Initial value of the RepairOrderID property.</param>
 /// <param name="repairDate">Initial value of the RepairDate property.</param>
 /// <param name="toolID">Initial value of the ToolID property.</param>
 /// <param name="repairingQuantity">Initial value of the RepairingQuantity property.</param>
 /// <param name="quantity">Initial value of the Quantity property.</param>
 /// <param name="scrapQuantity">Initial value of the ScrapQuantity property.</param>
 /// <param name="unitPrice">Initial value of the UnitPrice property.</param>
 public static RepairOrderDetail CreateRepairOrderDetail(global::System.Int32 repairOrderDetailID, global::System.Int32 repairOrderID, global::System.DateTime repairDate, global::System.Int32 toolID, global::System.Decimal repairingQuantity, global::System.Decimal quantity, global::System.Decimal scrapQuantity, global::System.Decimal unitPrice)
 {
     RepairOrderDetail repairOrderDetail = new RepairOrderDetail();
     repairOrderDetail.RepairOrderDetailID = repairOrderDetailID;
     repairOrderDetail.RepairOrderID = repairOrderID;
     repairOrderDetail.RepairDate = repairDate;
     repairOrderDetail.ToolID = toolID;
     repairOrderDetail.RepairingQuantity = repairingQuantity;
     repairOrderDetail.Quantity = quantity;
     repairOrderDetail.ScrapQuantity = scrapQuantity;
     repairOrderDetail.UnitPrice = unitPrice;
     return repairOrderDetail;
 }