aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/FSE/Tango.FSE.Common/SQL/RemoteSqlCommandResult.cs
blob: b4714c1aa85ed52f2b0334f6c54f0af42c960f27 (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
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Tango.FSE.Common.SQL
{
    public class RemoteSqlCommandResult
    {
        public int LocalAffectedRecords { get; set; }
        public List<Dictionary<String, Object>> LocalRows { get; set; }
        public bool HasLocalError { get; set; }
        public String LocalError { get; set; }

        public int GlobalAffectedRecords { get; set; }
        public List<Dictionary<String, Object>> GlobalRows { get; set; }
        public bool HasGlobalError { get; set; }
        public String GlobalError { get; set; }

        public RemoteSqlCommandResult()
        {
            LocalRows = new List<Dictionary<string, object>>();
            GlobalRows = new List<Dictionary<string, object>>();
        }
    }
}