Updating expressions to output sql for use with the fluent migrations, so it can be used for db upgrades.

This commit is contained in:
Morten Christensen
2012-12-20 11:36:20 -01:00
parent 9d55fed6e7
commit c1695c2f7f
24 changed files with 287 additions and 90 deletions

View File

@@ -9,6 +9,9 @@ namespace Umbraco.Core.Persistence.DatabaseModelDefinitions
{
ForeignColumns = new List<string>();
PrimaryColumns = new List<string>();
//Set to None by Default
OnDelete = Rule.None;
OnUpdate = Rule.None;
}
public virtual string Name { get; set; }