/// <summary> /// Deprecated Method for adding a new object to the EmployeeSkills EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToEmployeeSkills(EmployeeSkills employeeSkills) { base.AddObject("EmployeeSkills", employeeSkills); }
/// <summary> /// Create a new EmployeeSkills object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="skill">Initial value of the Skill property.</param> /// <param name="skillYears">Initial value of the SkillYears property.</param> /// <param name="employeeSkills_Employee">Initial value of the EmployeeSkills_Employee property.</param> /// <param name="rowVersion">Initial value of the RowVersion property.</param> public static EmployeeSkills CreateEmployeeSkills(global::System.Int32 id, global::System.String skill, global::System.Int32 skillYears, global::System.Int32 employeeSkills_Employee, global::System.Byte[] rowVersion) { EmployeeSkills employeeSkills = new EmployeeSkills(); employeeSkills.Id = id; employeeSkills.Skill = skill; employeeSkills.SkillYears = skillYears; employeeSkills.EmployeeSkills_Employee = employeeSkills_Employee; employeeSkills.RowVersion = rowVersion; return employeeSkills; }