40 lines
963 B
C#
40 lines
963 B
C#
|
|
using System.Collections.Generic;
|
||
|
|
|
||
|
|
namespace Erp.SqlQueryManager.Application.Contracts;
|
||
|
|
|
||
|
|
/// <summary>
|
||
|
|
/// Combined DTO for Object Explorer containing all SQL objects
|
||
|
|
/// </summary>
|
||
|
|
public class SqlObjectExplorerDto
|
||
|
|
{
|
||
|
|
/// <summary>
|
||
|
|
/// SQL Queries
|
||
|
|
/// </summary>
|
||
|
|
public List<SqlQueryDto> Queries { get; set; } = new();
|
||
|
|
|
||
|
|
/// <summary>
|
||
|
|
/// Stored Procedures
|
||
|
|
/// </summary>
|
||
|
|
public List<SqlStoredProcedureDto> StoredProcedures { get; set; } = new();
|
||
|
|
|
||
|
|
/// <summary>
|
||
|
|
/// Views
|
||
|
|
/// </summary>
|
||
|
|
public List<SqlViewDto> Views { get; set; } = new();
|
||
|
|
|
||
|
|
/// <summary>
|
||
|
|
/// Functions
|
||
|
|
/// </summary>
|
||
|
|
public List<SqlFunctionDto> Functions { get; set; } = new();
|
||
|
|
|
||
|
|
/// <summary>
|
||
|
|
/// Database Tables
|
||
|
|
/// </summary>
|
||
|
|
public List<DatabaseTableDto> Tables { get; set; } = new();
|
||
|
|
|
||
|
|
/// <summary>
|
||
|
|
/// Query Templates
|
||
|
|
/// </summary>
|
||
|
|
public List<SqlTemplateDto> Templates { get; set; } = new();
|
||
|
|
}
|