sozsoft-platform/api/modules/Sozsoft.SqlQueryManager/Sozsoft.SqlQueryManager.Application.Contracts/SqlExecutionDto.cs
2026-03-02 21:31:49 +03:00

20 lines
604 B
C#

using System.Collections.Generic;
namespace Sozsoft.SqlQueryManager.Application.Contracts;
public class ExecuteSqlQueryDto
{
public string QueryText { get; set; }
public string DataSourceCode { get; set; }
public Dictionary<string, object> Parameters { get; set; }
}
public class SqlQueryExecutionResultDto
{
public bool Success { get; set; }
public string Message { get; set; }
public IEnumerable<dynamic> Data { get; set; }
public int RowsAffected { get; set; }
public long ExecutionTimeMs { get; set; }
public Dictionary<string, object> Metadata { get; set; }
}