Skip to content

Commit

Permalink
Allow tables with special characters in the name.
Browse files Browse the repository at this point in the history
  • Loading branch information
MoazAlkharfan authored Mar 15, 2022
1 parent f0a93f0 commit 798d865
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 798d865

Please sign in to comment.