示例#1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Upgrades EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToUpgrades(Upgrade upgrade)
 {
     base.AddObject("Upgrades", upgrade);
 }
示例#2
0
 /// <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;
 }