/// <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="skillType_Id">Initial value of the SkillType_Id property.</param> public static Skill CreateSkill(global::System.Int32 id, global::System.Int32 skillType_Id) { Skill skill = new Skill(); skill.Id = id; skill.SkillType_Id = skillType_Id; return skill; }