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.Person
{
public class CountryRegion : SqlTable
{
static int InstanceCount = 0;
SqlColumn<string> _CountryRegionCode;
SqlColumn<string> _Name;
SqlColumn<DateTime?> _ModifiedDate;
public SqlColumn<string> CountryRegionCode
{
get
{
return this._CountryRegionCode;
}
}
public SqlColumn<string> Name
{
get
{
return this._Name;
}
}
public SqlColumn<DateTime?> ModifiedDate
{
get
{
return this._ModifiedDate;
}
}
public override string ConnectionString
{
get
{
return FATIHVAIOServer.ConnectionString;
}
}
public CountryRegion() : base("CountryRegion", "CountryRegion", "6", "Person")
{
CountryRegion.InstanceCount++;
this.instanceName = this.schema_name + "_" + this.name + "_" + CountryRegion.InstanceCount.ToString();
_CountryRegionCode = new SqlColumn<string>(this, null, "CountryRegionCode", 6, 0, "Latin1_General_100_CS_AS", false, false, false, false);
_Name = new SqlColumn<string>(this, null, "Name", 100, 0, "Latin1_General_100_CS_AS", false, false, false, false);
_ModifiedDate = new SqlColumn<DateTime?>(this, null, "ModifiedDate", 8, 23, "", false, false, false, false);
}
public CountryRegion(int? id) : this()
{
}
~CountryRegion()
{
CountryRegion.InstanceCount--;
}
}
}