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
Post a Comment