#region License // Copyright 2005-2019 Paul Kohler (https://github.com/paulkohler/minisqlquery). All rights reserved. // This source code is made available under the terms of the GNU Lesser General Public License v3.0 // https://github.com/paulkohler/minisqlquery/blob/master/LICENSE #endregion using System; using System.Data; namespace MiniSqlQuery.Core { /// /// Represents an SQL query, some timings and the result (if executed). /// public class Query { /// /// Initializes a new instance of the class. /// /// The SQL for the query. public Query(string sql) { Sql = sql; } /// /// Gets or sets the end time. /// /// The end time. public DateTime EndTime { get; set; } /// /// Gets or sets the result. /// /// The result. public DataSet Result { get; set; } /// /// Gets the SQL query text. /// /// The SQL query text. public string Sql { get; private set; } /// /// Gets or sets the start time. /// /// The start time. public DateTime StartTime { get; set; } } }