27 lines
589 B
C#
27 lines
589 B
C#
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Xml.Serialization;
|
|
|
|
namespace ServerExplorer.Code.DataTransfer
|
|
{
|
|
[Serializable]
|
|
public class Table
|
|
{
|
|
[XmlAttribute]
|
|
public string Schema { get; set; }
|
|
[XmlAttribute]
|
|
public string Name { get; set; }
|
|
[XmlAttribute]
|
|
public string Type { get; set; }
|
|
|
|
private readonly List<Column> _columns = new List<Column>();
|
|
|
|
[XmlArray]
|
|
public List<Column> Columns
|
|
{
|
|
get { return _columns; }
|
|
}
|
|
}
|
|
}
|