/// <summary> /// Deprecated Method for adding a new object to the EmployeePermissions EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToEmployeePermissions(EmployeePermission employeePermission) { base.AddObject("EmployeePermissions", employeePermission); }
/// <summary> /// Create a new EmployeePermission object. /// </summary> /// <param name="autoInc">Initial value of the AutoInc property.</param> /// <param name="employeeID">Initial value of the EmployeeID property.</param> /// <param name="privilege">Initial value of the Privilege property.</param> public static EmployeePermission CreateEmployeePermission(global::System.Int64 autoInc, global::System.String employeeID, global::System.String privilege) { EmployeePermission employeePermission = new EmployeePermission(); employeePermission.AutoInc = autoInc; employeePermission.EmployeeID = employeeID; employeePermission.Privilege = privilege; return employeePermission; }