示例#1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the CostObjectives EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToCostObjectives(CostObjective costObjective)
 {
     base.AddObject("CostObjectives", costObjective);
 }
示例#2
0
 /// <summary>
 /// Create a new CostObjective object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="name">Initial value of the Name property.</param>
 /// <param name="categoryId">Initial value of the CategoryId property.</param>
 public static CostObjective CreateCostObjective(global::System.Int32 id, global::System.String name, global::System.Int32 categoryId)
 {
     CostObjective costObjective = new CostObjective();
     costObjective.Id = id;
     costObjective.Name = name;
     costObjective.CategoryId = categoryId;
     return costObjective;
 }