aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/FSE/Tango.FSE.Common/SQL/RemoteSqlCommandMode.cs
blob: 702f35e8a26875f1e4d4e91b7ec107e7dea0fef5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Tango.FSE.Common.SQL
{
    /// <summary>
    /// Represents an SQL command execution mode.
    /// </summary>
    /// <example>
    /// <para>
    /// <i>
    /// The following example demonstrates how to set the connected machine's demo state and query for the connected machine's jobs.
    /// </i>
    /// </para>
    /// <code lang="C#" source="../Tango.FSE.Procedures/Examples/Sql/Program.cs" title="Remote SQL" region="Example" />
    /// </example>
    public enum RemoteSqlCommandMode
    {
        /// <summary>
        /// Executes the command against the connected local database.
        /// </summary>
        Local,
        /// <summary>
        /// Executes the command against the global Twine's database.
        /// </summary>
        Global,
        /// <summary>
        /// Executes the command against the connected machine and the global databases.
        /// </summary>
        Both
    }
}