26 lines
521 B
C#
26 lines
521 B
C#
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Xml.Serialization;
|
|
|
|
namespace ServerExplorer.Code.DataTransfer
|
|
{
|
|
[Serializable]
|
|
class Database
|
|
{
|
|
[XmlAttribute]
|
|
public string Name { get; set; }
|
|
[XmlAttribute]
|
|
public DateTime CreateDate { get; set; }
|
|
|
|
|
|
private readonly List<Table> _tables = new List<Table>();
|
|
|
|
[XmlArray]
|
|
public List<Table> Tables
|
|
{
|
|
get { return _tables; }
|
|
}
|
|
}
|
|
}
|