entity framework - EF migrations boilerplate - where is it? -


i'm speed code first migrations , project has evolved on several months stage there dozens of migrations , expect dozens more before project closes.

each time use package manager add migration need make same edits generated class (specifically change out boilerplate "dbo." held global var looked config using helper, need add line of code up() , down(), add 'using' statement (move usings top of file) , replace dbo. in generated names.)

i'm sure in t4 template or whatever, , migration class generated these edits made, source?


Comments

Popular posts from this blog

html5 - What is breaking my page when printing? -

html - Unable to style the color of bullets in a list -

c# - must be a non-abstract type with a public parameterless constructor in redis -