Пример #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the BudgetRequestDetails EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToBudgetRequestDetails(BudgetRequestDetail budgetRequestDetail)
 {
     base.AddObject("BudgetRequestDetails", budgetRequestDetail);
 }
Пример #2
0
 /// <summary>
 /// Create a new BudgetRequestDetail object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="applicationRequestId">Initial value of the ApplicationRequestId property.</param>
 /// <param name="itemId">Initial value of the ItemId property.</param>
 /// <param name="measureId">Initial value of the MeasureId property.</param>
 /// <param name="itemName">Initial value of the ItemName property.</param>
 /// <param name="quantity">Initial value of the Quantity property.</param>
 /// <param name="problem">Initial value of the Problem property.</param>
 /// <param name="solution">Initial value of the Solution property.</param>
 public static BudgetRequestDetail CreateBudgetRequestDetail(global::System.Int32 id, global::System.Int32 applicationRequestId, global::System.Int32 itemId, global::System.Int32 measureId, global::System.String itemName, global::System.Double quantity, global::System.String problem, global::System.String solution)
 {
     BudgetRequestDetail budgetRequestDetail = new BudgetRequestDetail();
     budgetRequestDetail.Id = id;
     budgetRequestDetail.ApplicationRequestId = applicationRequestId;
     budgetRequestDetail.ItemId = itemId;
     budgetRequestDetail.MeasureId = measureId;
     budgetRequestDetail.ItemName = itemName;
     budgetRequestDetail.Quantity = quantity;
     budgetRequestDetail.Problem = problem;
     budgetRequestDetail.Solution = solution;
     return budgetRequestDetail;
 }