using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Tango.PPC.Shared.SQL;
namespace Tango.FSE.Common.SQL
{
///
/// Represents a result.
///
///
///
///
/// The following example demonstrates how to set the connected machine's demo state and query for the connected machine's jobs.
///
///
///
///
public class RemoteSqlCommandResult
{
///
/// Gets or sets the connected machine's database affected records.
///
public int LocalAffectedRecords { get; set; }
///
/// Gets or sets the data set retrieved from the connected machine's database.
///
public RemoteSqlDataSet LocalDatSet { get; set; }
///
/// Gets or sets a value indicating whether the query against the connected machine's database has encountered an error.
///
public bool HasLocalError { get; set; }
///
/// Gets or sets the error encountered by the query when it was executed against the connected machine's database.
/// Relevant only if equals true.
///
public String LocalError { get; set; }
///
/// Gets or sets the global database affected records.
///
public int GlobalAffectedRecords { get; set; }
///
/// Gets or sets the data set retrieved from the global database.
///
public RemoteSqlDataSet GlobalDataSet { get; set; }
///
/// Gets or sets a value indicating whether the query against the global database has encountered an error.
///
public bool HasGlobalError { get; set; }
///
/// Gets or sets the error encountered by the query when it was executed against the global database.
/// Relevant only if equals true.
///
public String GlobalError { get; set; }
///
/// Initializes a new instance of the class.
///
public RemoteSqlCommandResult()
{
LocalDatSet = new RemoteSqlDataSet();
GlobalDataSet = new RemoteSqlDataSet();
}
}
}