forked from fluentmigrator/fluentmigrator
-
Notifications
You must be signed in to change notification settings - Fork 0
Code formatting
Daniel Lee edited this page Aug 25, 2013
·
2 revisions
We use the Visual Studio default for the C# code:
- smart indentation
- tab size: 4
- indent size: 4
- insert spaces
We are aware that there is a mixture of tabs and spaces in the code, so feel free to reformat the code to this standard. But if you do so, please put it in a separate commit.
If you are making changes to the rake file (written in Ruby) then the default tab size is 2.
- 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