//
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
//
namespace Microsoft.SqlTools.ServiceLayer.QueryExecution.Contracts
{
///
/// Summary of a batch within a query
///
public class BatchSummary
{
///
/// Whether or not the batch was successful. True indicates errors, false indicates success
///
public bool HasError { get; set; }
///
/// The ID of the result set within the query results
///
public int Id { get; set; }
///
/// The selection from the file for this batch
///
public SelectionData Selection { get; set; }
///
/// Any messages that came back from the server during execution of the batch
///
public ResultMessage[] Messages { get; set; }
///
/// The summaries of the result sets inside the batch
///
public ResultSetSummary[] ResultSetSummaries { get; set; }
}
}