using System.Collections.Generic; namespace Sozsoft.SqlQueryManager.Application.Contracts; /// /// A native SQL Server object (view, stored procedure, or function) discovered from system catalogs. /// public class SqlNativeObjectDto { public string SchemaName { get; set; } = "dbo"; public string ObjectName { get; set; } = ""; public string FullName => $"[{SchemaName}].[{ObjectName}]"; } /// /// Object Explorer DTO - reflects the live SQL Server catalog structure. /// public class SqlObjectExplorerDto { public List Tables { get; set; } = new(); public List Views { get; set; } = new(); public List StoredProcedures { get; set; } = new(); public List Functions { get; set; } = new(); public List Templates { get; set; } = new(); }