We are working with entity framework 4.1 – code first. We need to be able to name our constraints and not have their names auto-generated by SQL Server. Is this possible?
We need: PK_Users_UserId,
Not: PK_Users_87329729C
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Could you run some raw sql to rename them after creation? You may need to disable the EdmMetadata convention.