using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using System.Data.Sql;
using System.Data.SqlClient;
using System.Data.SqlTypes;
using DBOMSqlSharp;
namespace FATIHVAIO.AdventureWorks2008R2.dbo
{
public class Table1 : SqlTable
{
static int InstanceCount = 0;
SqlColumn<int?> _ColA;
SqlColumn<decimal?> _ColB;
public SqlColumn<int?> ColA
{
get
{
return this._ColA;
}
}
public SqlColumn<decimal?> ColB
{
get
{
return this._ColB;
}
}
public override string ConnectionString
{
get
{
return FATIHVAIOServer.ConnectionString;
}
}
public Table1() : base("Table1", "Table1", "1", "dbo")
{
Table1.InstanceCount++;
this.instanceName = this.schema_name + "_" + this.name + "_" + Table1.InstanceCount.ToString();
_ColA = new SqlColumn<int?>(this, null, "ColA", 4, 10, "", false, false, false, false);
_ColB = new SqlColumn<decimal?>(this, null, "ColB", 9, 10, "", false, false, false, false);
}
public Table1(int? id) : this()
{
}
~Table1()
{
Table1.InstanceCount--;
}
}
}