/// <summary> /// Deprecated Method for adding a new object to the Upgrades EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToUpgrades(Upgrade upgrade) { base.AddObject("Upgrades", upgrade); }
/// <summary> /// Create a new Upgrade object. /// </summary> /// <param name="id">Initial value of the ID property.</param> /// <param name="fK_user">Initial value of the FK_user property.</param> public static Upgrade CreateUpgrade(global::System.Int32 id, global::System.Int32 fK_user) { Upgrade upgrade = new Upgrade(); upgrade.ID = id; upgrade.FK_user = fK_user; return upgrade; }