Created
January 17, 2012 15:41
-
-
Save aaronlerch/1627118 to your computer and use it in GitHub Desktop.
Simple Resharper live template for FluentMigrator migrations
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<TemplatesExport family="Live Templates"> | |
<Template uid="23818653-ac72-4057-9afc-35649cdfe0fc" shortcut="migration" description="FluentMigrator Migration" text="[Migration($VERSION$)]
public class $MIGRATION_NAME$ : Migration
{
 public override void Up()
 {
 $UP$
 }

 public override void Down()
 {
 $DOWN$
 }
}" reformat="True" shortenQualifiedReferences="True"> | |
<Context> | |
<CSharpContext context="Everywhere" minimumLanguageVersion="2.0" /> | |
</Context> | |
<Categories /> | |
<Variables> | |
<Variable name="VERSION" expression="getCurrentTime("yyyyMMddHHmmss")" initialRange="0" /> | |
<Variable name="MIGRATION_NAME" expression="" initialRange="0" /> | |
<Variable name="UP" expression="constant("throw new NotImplementedException();")" initialRange="0" /> | |
<Variable name="DOWN" expression="constant("throw new NotImplementedException();")" initialRange="0" /> | |
</Variables> | |
<CustomProperties /> | |
</Template> | |
</TemplatesExport> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment