/// <summary> /// Create a new UserRoleDetails object. /// </summary> /// <param name="id">Initial value of the ID property.</param> /// <param name="userRolesID">Initial value of the UserRolesID property.</param> /// <param name="userRightDefinitionsID">Initial value of the UserRightDefinitionsID property.</param> /// <param name="isAllowed">Initial value of the IsAllowed property.</param> public static UserRoleDetails CreateUserRoleDetails(global::System.Guid id, global::System.Guid userRolesID, global::System.Int32 userRightDefinitionsID, global::System.Boolean isAllowed) { UserRoleDetails userRoleDetails = new UserRoleDetails(); userRoleDetails.ID = id; userRoleDetails.UserRolesID = userRolesID; userRoleDetails.UserRightDefinitionsID = userRightDefinitionsID; userRoleDetails.IsAllowed = isAllowed; return userRoleDetails; }
private bool FilterUserRoleDetails(UserRoleDetails entity) { return (entity.UserRolesID == this.ID); }
/// <summary> /// Deprecated Method for adding a new object to the UserRoleDetails EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToUserRoleDetails(UserRoleDetails userRoleDetails) { base.AddObject("UserRoleDetails", userRoleDetails); }
private void DetachUserRoleDetails(UserRoleDetails entity) { entity.UserRoles = null; }
private void AttachUserRoleDetails(UserRoleDetails entity) { entity.UserRoles = this; }
private bool FilterUserRoleDetails(UserRoleDetails entity) { return (entity.UserRightDefinitionsID == this.ID); }
private void DetachUserRoleDetails(UserRoleDetails entity) { entity.UserRightDefinitions = null; }
private void AttachUserRoleDetails(UserRoleDetails entity) { entity.UserRightDefinitions = this; }