From 798d86573bb3e2cbd3c35e78aaf07db756cc20b4 Mon Sep 17 00:00:00 2001 From: Moaz Alkharfan <8115419+MoazAlkharfan@users.noreply.github.com> Date: Tue, 15 Mar 2022 10:53:53 +0100 Subject: [PATCH] Allow tables with special characters in the name. --- src/DbDiagramIo.MsSql/TableDto.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/DbDiagramIo.MsSql/TableDto.cs b/src/DbDiagramIo.MsSql/TableDto.cs index 1eed5ff..e428de8 100644 --- a/src/DbDiagramIo.MsSql/TableDto.cs +++ b/src/DbDiagramIo.MsSql/TableDto.cs @@ -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) {