提交 990461cd 编写于 作者: W weihanli

remove duplicate trim

上级 61d2be2e
......@@ -379,7 +379,7 @@ ORDER BY c.[column_id];
var sbSqlDescText = new StringBuilder();
//create table
sbSqlText.AppendLine($"---------- Create Table 【{tableEntity.TableName}】 Sql -----------");
sbSqlText.Append($"CREATE TABLE [{(string.IsNullOrWhiteSpace(tableEntity.TableSchema) ? "dbo" : tableEntity.TableSchema)}].[{tableEntity.TableName.Trim()}](");
sbSqlText.Append($"CREATE TABLE [{(string.IsNullOrWhiteSpace(tableEntity.TableSchema) ? "dbo" : tableEntity.TableSchema)}].[{tableEntity.TableName}](");
//create description
if (generateDescription && !string.IsNullOrEmpty(tableEntity.TableDescription))
{
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册