Skip to content

Commit

Permalink
Merge pull request david-zoltan#2 from MoazAlkharfan/patch-1
Browse files Browse the repository at this point in the history
Allow tables with special characters in the name.
  • Loading branch information
david-zoltan authored Mar 16, 2022
2 parents f0a93f0 + 798d865 commit dcc7e00
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/DbDiagramIo.MsSql/TableDto.cs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public TableDto( string name )
public string ToDbDbiagramCode()
{
StringBuilder stringBuilder = new StringBuilder();
stringBuilder.AppendLine( $"Table {Name} {{" );
stringBuilder.AppendLine( $"Table \"{Name}\" {{" );

foreach (ColumnDto column in this.columns.Values)
{
Expand Down

0 comments on commit dcc7e00

Please sign in to comment.