Skip to content

Resharper File Template

daniellee edited this page Jul 14, 2012 · 5 revisions

For Resharper users a File Template that can be accessed from the quick menu (Alt + Insert) can make life a bit easier. Creating migration classes for hand every time can be repetitive and a template that sets the migration attribute automatically reduces the risk of errors.

ResharperQuickMenu

A Starter Template

A starter File Template for FluentMigrator migrations can be found in the docs folder.

In the template are a couple of macros that set the namespace to the current assembly's namespace, class name to the filename and the migration attribute to the current date in yyyyMMddHHmm format.

Importing A Template

ResharperBeforeImport ResharperSelectFile ResharperNotInQuickList ResharperInQuickList

Clone this wiki locally