Skip to content

Commit

Permalink
fix problem with setting a default value in SQLServerColumnProperties…
Browse files Browse the repository at this point in the history
  • Loading branch information
nhemsley committed Apr 21, 2008
1 parent e82f7bc commit 399eb2a
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,12 +47,12 @@ public override void Identity()

public override void Default(object defaultValue)
{
sqlDefault = string.Format("DEFAULT={0}", defaultValue);
sqlDefault = string.Format("DEFAULT ({0})", defaultValue);
}

public override string Quote(string value)
{
return string.Format("[{0]]", value);
return string.Format("[{0}]", value);
}
}
}

0 comments on commit 399eb2a

Please sign in to comment.