0

I have one view and one of its fields is Email (UK-Unique Key).

When some user do login in my web system and update the email. Happens one problem he can't change his email.

After Appears the message:"the property is part of the object's key information and cannot be modified"

1 Answer 1

2

I don't think you can or should update unique key fields. Have you considered making an integer identity field the unique key for the user, so that the email address could be modified?

You can still enforce uniqueness of the email field by adding an additional constraint in the database, or through business logic.

Sign up to request clarification or add additional context in comments.

1 Comment

The field email address can be modified

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.