I have just begun to look at the Code only EF with Dbcontext creation.
The Dbcontext constructor will need a string parameter to create an instance.
My question is that since the EF will create database and tables on the fly first time the system runs:
The sql server account contained in that string will have the master role
or
a normal sql server account. Then Dbcontext will create the database and assign role properly just for the new database by convention?
Secondly, after the database has been created. How does the system know the name of the new database in the future data access?