Beispiel #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the DatabaseEquips EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToDatabaseEquips(DatabaseEquip databaseEquip)
 {
     base.AddObject("DatabaseEquips", databaseEquip);
 }
Beispiel #2
0
 /// <summary>
 /// Create a new DatabaseEquip object.
 /// </summary>
 /// <param name="id">Initial value of the ID property.</param>
 /// <param name="owner">Initial value of the Owner property.</param>
 /// <param name="slot">Initial value of the Slot property.</param>
 /// <param name="equipID">Initial value of the EquipID property.</param>
 /// <param name="upgrades">Initial value of the Upgrades property.</param>
 /// <param name="incStr">Initial value of the IncStr property.</param>
 /// <param name="incEnd">Initial value of the IncEnd property.</param>
 /// <param name="incDex">Initial value of the IncDex property.</param>
 /// <param name="incInt">Initial value of the IncInt property.</param>
 /// <param name="incSpr">Initial value of the IncSpr property.</param>
 public static DatabaseEquip CreateDatabaseEquip(global::System.Int32 id, global::System.Int32 owner, global::System.Int16 slot, global::System.Int32 equipID, global::System.Byte upgrades, global::System.Byte incStr, global::System.Byte incEnd, global::System.Byte incDex, global::System.Byte incInt, global::System.Byte incSpr)
 {
     DatabaseEquip databaseEquip = new DatabaseEquip();
     databaseEquip.ID = id;
     databaseEquip.Owner = owner;
     databaseEquip.Slot = slot;
     databaseEquip.EquipID = equipID;
     databaseEquip.Upgrades = upgrades;
     databaseEquip.IncStr = incStr;
     databaseEquip.IncEnd = incEnd;
     databaseEquip.IncDex = incDex;
     databaseEquip.IncInt = incInt;
     databaseEquip.IncSpr = incSpr;
     return databaseEquip;
 }