forked from fluentmigrator/fluentmigrator
-
Notifications
You must be signed in to change notification settings - Fork 1
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.
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.
- Getting FluentMigrator
- How to create a Migration
- Fluent Interface
- Migration Runners
- Use inbuilt database functions when setting the default value
- Sql Server Specific Extensions
- Raw Sql Helper for inserting data
- Auto Reversing Migrations
- Resharper File Template
- Transaction Modes for the Migration Runner
- ApplicationContext: Passing parameters to Migrations
- Dealing with Multiple Database Types
- Filter migrations run based on Tags
- Enforce migration version numbering rules
- Create custom metadata for the VersionInfo table