/// <summary> /// Deprecated Method for adding a new object to the EmployeeGroups EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToEmployeeGroups(EmployeeGroup employeeGroup) { base.AddObject("EmployeeGroups", employeeGroup); }
/// <summary> /// Create a new EmployeeGroup object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="employeeGroupName">Initial value of the EmployeeGroupName property.</param> /// <param name="rowVersion">Initial value of the RowVersion property.</param> public static EmployeeGroup CreateEmployeeGroup(global::System.Int32 id, global::System.String employeeGroupName, global::System.Byte[] rowVersion) { EmployeeGroup employeeGroup = new EmployeeGroup(); employeeGroup.Id = id; employeeGroup.EmployeeGroupName = employeeGroupName; employeeGroup.RowVersion = rowVersion; return employeeGroup; }