예제 #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the supply EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddTosupply(supply supply)
 {
     base.AddObject("supply", supply);
 }
예제 #2
0
 /// <summary>
 /// Create a new supply object.
 /// </summary>
 /// <param name="supply_id">Initial value of the supply_id property.</param>
 /// <param name="count">Initial value of the count property.</param>
 public static supply Createsupply(global::System.Int32 supply_id, global::System.Int32 count)
 {
     supply supply = new supply();
     supply.supply_id = supply_id;
     supply.count = count;
     return supply;
 }