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