I'm trying to change the schema name for my app when a schema name is passed as a command line argument.
I have read this solution Changing schema name on runtime - Entity Framework, but it seems needlessly complicated.
Can anyone tell me whether there is a simpler solution or whether this is the best way to do it?
So just to reiterate, I want to use the default dbo schema name unless a command line argument is passed such as --schema = abc, and in this case I want to use the abc schema. I'm using EF6.
Thanks