aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/Tango.SQLExaminer/Table.cs
blob: e09792b0bb05e498b75b08355245dd127c8446a5 (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
36
37
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml.Serialization;

namespace Tango.SQLExaminer
{
    public class Table
    {
        [XmlAttribute("schema")]
        public String Schema { get; set; }

        [XmlAttribute("name")]
        public String Name { get; set; }

        [XmlAttribute("allowDelete")]
        public String AllowDelete { get; set; }

        [XmlAttribute("allowInsert")]
        public String AllowInsert { get; set; }

        [XmlAttribute("allowUpdate")]
        public String AllowUpdate { get; set; }

        public List<KeyColumn> KeyColumns { get; set; }

        public List<UpdateColumn> UpdateColumns { get; set; }

        public Table()
        {
            KeyColumns = new List<KeyColumn>();
            UpdateColumns = new List<UpdateColumn>();
        }
    }
}