diff --git a/api/modules/Erp.SqlQueryManager/Erp.SqlQueryManager.Application/SqlObjectManagerAppService.cs b/api/modules/Erp.SqlQueryManager/Erp.SqlQueryManager.Application/SqlObjectManagerAppService.cs index ec8cf7c6..e3bec8c0 100644 --- a/api/modules/Erp.SqlQueryManager/Erp.SqlQueryManager.Application/SqlObjectManagerAppService.cs +++ b/api/modules/Erp.SqlQueryManager/Erp.SqlQueryManager.Application/SqlObjectManagerAppService.cs @@ -174,7 +174,7 @@ public class SqlObjectManagerAppService : ApplicationService, ISqlObjectManagerA Id = p.Id, ProcedureName = p.ProcedureName, SchemaName = p.SchemaName, - DisplayName = p.DisplayName, + DisplayName = $"{p.SchemaName}.{p.ProcedureName}", Description = p.Description, ProcedureBody = p.ProcedureBody, DataSourceCode = p.DataSourceCode, @@ -224,7 +224,7 @@ public class SqlObjectManagerAppService : ApplicationService, ISqlObjectManagerA Id = uniqueId, SchemaName = schemaName, ProcedureName = procName, - DisplayName = $"[{schemaName}].[{procName}]", + DisplayName = $"{schemaName}.{procName}", DataSourceCode = dataSourceCode, IsCustom = false, IsDeployed = true // Native objects are already deployed @@ -249,7 +249,7 @@ public class SqlObjectManagerAppService : ApplicationService, ISqlObjectManagerA Id = v.Id, ViewName = v.ViewName, SchemaName = v.SchemaName, - DisplayName = v.DisplayName, + DisplayName = $"{v.SchemaName}.{v.ViewName}", Description = v.Description, ViewDefinition = v.ViewDefinition, DataSourceCode = v.DataSourceCode, @@ -299,7 +299,7 @@ public class SqlObjectManagerAppService : ApplicationService, ISqlObjectManagerA Id = uniqueId, SchemaName = schemaName, ViewName = viewName, - DisplayName = $"[{schemaName}].[{viewName}]", + DisplayName = $"{schemaName}.{viewName}", DataSourceCode = dataSourceCode, IsCustom = false, IsDeployed = true @@ -323,7 +323,7 @@ public class SqlObjectManagerAppService : ApplicationService, ISqlObjectManagerA Id = f.Id, FunctionName = f.FunctionName, SchemaName = f.SchemaName, - DisplayName = f.DisplayName, + DisplayName = $"[{f.SchemaName}].[{f.FunctionName}]", Description = f.Description, FunctionType = f.FunctionType, FunctionBody = f.FunctionBody, @@ -387,7 +387,7 @@ public class SqlObjectManagerAppService : ApplicationService, ISqlObjectManagerA Id = uniqueId, SchemaName = schemaName, FunctionName = funcName, - DisplayName = $"[{schemaName}].[{funcName}]", + DisplayName = $"{schemaName}.{funcName}", DataSourceCode = dataSourceCode, FunctionType = funcType, IsCustom = false,