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 remote SQL provider. /// Can be used to execute commands against the remote machine's database and the global twine's database. /// /// /// /// /// The following example demonstrates how to set the connected machine's demo state and query for the connected machine's jobs. /// /// /// /// public interface IRemoteSqlProvider { /// /// Executes the SQL command asynchronously. /// /// The command. /// Remote command result. Task ExecuteSqlCommandAsync(RemoteSqlCommand command); /// /// Executes the SQL command. /// /// The command. /// Remote command result. RemoteSqlCommandResult ExecuteSqlCommand(RemoteSqlCommand command); } }