The dbcreator fixed server role grants you permission to create a database. If you create a database, you are a dbo of the specified database and like dbo, you have absolute power in the database, including the ability to create, modify and delete any circuit and any object contained in any circuit.
the problem with LINQ CreateDatabase () is not permission, it is code quality. The generated SQL code simply does not create the necessary schema, so the Create table statements fail because the schema does not exist.
Your best bet, if you can afford it, is to add the VSTS Database Edition GDR R2 to your solution and declare all your database objects in the Database Edition project (part of your solution). You will also get the added benefit of storing all database objects in the correct version control solution. The result of the database project is a .dbschema file containing the definition of your database. During deployment (test or real), you run the VSDBCMD Schema Import and Import Tool to import your .dbschema to the target server. The tool is able to carry out the initial deployment of your schema, as well as further updates (deploy only the differences). The VSDB solution allows you to control all your database objects: tables, indexes, views, schemas, field restrictions, table restrictions, triggers, procedures, users, permissions, logins, etc. It really covers all the objects that can be defined in SQL Server.
Remus Rusanu
source share