/// <summary> /// Deprecated Method for adding a new object to the supply EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddTosupply(supply supply) { base.AddObject("supply", supply); }
/// <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; }