/// <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="skillID">Initial value of the SkillID property.</param> /// <param name="skillName">Initial value of the SkillName property.</param> public static Skill CreateSkill(global::System.Int32 skillID, global::System.String skillName) { Skill skill = new Skill(); skill.SkillID = skillID; skill.SkillName = skillName; return skill; }