Добавьте файлы проекта.

This commit is contained in:
FrigaT
2026-01-05 00:29:19 +03:00
committed by FrigaT
parent 76a09d80d4
commit d0653c2098
105 changed files with 6729 additions and 0 deletions

View File

@@ -0,0 +1,41 @@
using System.Data;
using System.Text.Json.Serialization;
namespace SQLVision.Core.Models;
public class ExecutionResult
{
[JsonPropertyName("data")]
public DataSet? Data { get; set; }
[JsonPropertyName("isSuccess")]
public bool IsSuccess { get; set; }
[JsonPropertyName("errorMessage")]
public string? ErrorMessage { get; set; }
[JsonPropertyName("executionTime")]
public TimeSpan ExecutionTime { get; set; }
[JsonPropertyName("isFromCache")]
public bool IsFromCache { get; set; }
[JsonPropertyName("executionDate")]
public DateTime ExecutionDate { get; set; } = DateTime.UtcNow;
[JsonPropertyName("parameters")]
public Dictionary<string, object> Parameters { get; set; } = new();
[JsonPropertyName("executedSql")]
public string ExecutedSql { get; set; } = string.Empty;
[JsonPropertyName("rowCount")]
public int RowCount { get; set; }
[JsonPropertyName("metrics")]
public Dictionary<string, object> Metrics { get; set; } = new();
[JsonPropertyName("connectionName")]
public string? ConnectionName { get; set; }
}