Skip to content

Commit ce3c260

Browse files
committed
Added missing semicolon
1 parent 3f0dded commit ce3c260

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

MySQL-To-CSharp/Program.cs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ private static void DbToClasses(string dbName, Dictionary<string, List<Column>>
7878
foreach (var column in table.Value)
7979
sb.Append($" {column.Name} = {{{column.Name}}},");
8080
sb.Remove(sb.ToString().LastIndexOf(','), 1);
81-
sb.AppendLine($" WHERE {table.Value[0].Name} = {{{table.Value[0].Name}}};\"");
81+
sb.AppendLine($" WHERE {table.Value[0].Name} = {{{table.Value[0].Name}}};\";");
8282
sb.AppendLine($"}}{Environment.NewLine}");
8383

8484
// insert query
@@ -120,6 +120,10 @@ static void Main(string[] args)
120120
.SetDefault(false).WithDescription("(optional) Generate a reading constructor and SQL statement output - Activate with -g true");
121121
parser.SetupHelp("?", "help").Callback(text => Console.WriteLine(text));
122122

123+
#if DEBUG
124+
args = new [] { "-p", "123", "-d", "az_world", "-g", "true"};
125+
#endif
126+
123127
var result = parser.Parse(args);
124128
if (!result.HasErrors)
125129
{

0 commit comments

Comments
 (0)