示例#1
0
文件: World.cs 项目: Meeyars/Noxus
 /// <summary>
 /// Deprecated Method for adding a new object to the DatabaseSkills EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToDatabaseSkills(DatabaseSkill databaseSkill)
 {
     base.AddObject("DatabaseSkills", databaseSkill);
 }
示例#2
0
文件: World.cs 项目: Meeyars/Noxus
 /// <summary>
 /// Create a new DatabaseSkill object.
 /// </summary>
 /// <param name="id">Initial value of the ID property.</param>
 /// <param name="owner">Initial value of the Owner property.</param>
 /// <param name="skillID">Initial value of the SkillID property.</param>
 /// <param name="upgrades">Initial value of the Upgrades property.</param>
 /// <param name="isPassive">Initial value of the IsPassive property.</param>
 public static DatabaseSkill CreateDatabaseSkill(global::System.Int32 id, global::System.Int32 owner, global::System.Int16 skillID, global::System.Int16 upgrades, global::System.Boolean isPassive)
 {
     DatabaseSkill databaseSkill = new DatabaseSkill();
     databaseSkill.ID = id;
     databaseSkill.Owner = owner;
     databaseSkill.SkillID = skillID;
     databaseSkill.Upgrades = upgrades;
     databaseSkill.IsPassive = isPassive;
     return databaseSkill;
 }