/// <summary> /// Deprecated Method for adding a new object to the Skills EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToSkills(Skill skill) { base.AddObject("Skills", skill); }
/// <summary> /// Create a new Skill object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="antiIce">Initial value of the AntiIce property.</param> /// <param name="antiFire">Initial value of the AntiFire property.</param> /// <param name="antiShock">Initial value of the AntiShock property.</param> /// <param name="antiPoison">Initial value of the AntiPoison property.</param> public static Skill CreateSkill(global::System.Int32 id, global::System.Double antiIce, global::System.Double antiFire, global::System.Double antiShock, global::System.Double antiPoison) { Skill skill = new Skill(); skill.Id = id; skill.AntiIce = antiIce; skill.AntiFire = antiFire; skill.AntiShock = antiShock; skill.AntiPoison = antiPoison; return skill; }