using System;
namespace dtgen_0_0_3
{
/// <summary>
/// Summary description for DataTypes.
/// </summary>
public class DataTypes:System.Collections.CollectionBase
{
public DataTypes()
{
//
// TODO: Add constructor logic here
//
this.Add(new DataType("bigint","Int64","Integer"));
this.Add(new DataType("binary","byte[]","Byte()"));
this.Add(new DataType("bit","bool","Boolean"));
this.Add(new DataType("char","string","String"));
this.Add(new DataType("datetime","DateTime","DateTime"));
this.Add(new DataType("decimal","decimal","Decimal"));
this.Add(new DataType("float","float","Double"));
this.Add(new DataType("image","byte[]","Byte()"));
this.Add(new DataType("int","int","Integer"));
this.Add(new DataType("money","decimal","Decimal"));
this.Add(new DataType("nchar","string","String"));
this.Add(new DataType("ntext","string","String"));
this.Add(new DataType("numeric","decimal","Decimal"));
this.Add(new DataType("nvarchar","string","String"));
this.Add(new DataType("real","Single","Single"));
this.Add(new DataType("smalldatetime","DateTime","DateTime"));
this.Add(new DataType("smallint","short","Short"));
this.Add(new DataType("smallmoney","decimal","Decimal"));
this.Add(new DataType("sql_variant","object","Object"));
this.Add(new DataType("text","string","String"));
this.Add(new DataType("timestamp","DateTime","DateTime"));
this.Add(new DataType("tinyint","byte","Byte"));
this.Add(new DataType("uniqueidentifier","Guid","Guid"));
this.Add(new DataType("varbinary","byte[]","Byte()"));
this.Add(new DataType("varchar","string","String"));
}
public DataType this[int i]
{
get{ return (DataType)this.InnerList[i];}
}
public void Add(DataType v)
{
this.InnerList.Add(v);
}
}
}