//------------------------------------------------------------------------------
//
// This code was generated by a tool.
// Runtime Version:2.0.50727.3053
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
//
//------------------------------------------------------------------------------
namespace ActiveRecordScaffolding.Data {
[Castle.ActiveRecord.ActiveRecordAttribute("[Employees]")]
public partial class Employees {
private int _employeeID;
private string _lastName;
private string _firstName;
private string _title;
private System.Nullable _birthDate;
private System.Nullable _hireDate;
private string _address;
private string _city;
private string _region;
private string _postalCode;
private string _country;
private string _homePhone;
private string _extension;
private byte[] _photo;
private string _notes;
private System.Nullable _reportsTo;
[Castle.ActiveRecord.PrimaryKeyAttribute(Castle.ActiveRecord.PrimaryKeyType.Identity, "[Employee ID]")]
public virtual int Id {
get {
return this._employeeID;
}
set {
this._employeeID = value;
}
}
[Castle.ActiveRecord.PropertyAttribute("[Last Name]")]
public virtual string LastName {
get {
return this._lastName;
}
set {
this._lastName = value;
}
}
[Castle.ActiveRecord.PropertyAttribute("[First Name]")]
public virtual string FirstName {
get {
return this._firstName;
}
set {
this._firstName = value;
}
}
[Castle.ActiveRecord.PropertyAttribute("[Title]")]
public virtual string Title {
get {
return this._title;
}
set {
this._title = value;
}
}
[Castle.ActiveRecord.PropertyAttribute("[Birth Date]")]
public virtual System.Nullable BirthDate {
get {
return this._birthDate;
}
set {
this._birthDate = value;
}
}
[Castle.ActiveRecord.PropertyAttribute("[Hire Date]")]
public virtual System.Nullable HireDate {
get {
return this._hireDate;
}
set {
this._hireDate = value;
}
}
[Castle.ActiveRecord.PropertyAttribute("[Address]")]
public virtual string Address {
get {
return this._address;
}
set {
this._address = value;
}
}
[Castle.ActiveRecord.PropertyAttribute("[City]")]
public virtual string City {
get {
return this._city;
}
set {
this._city = value;
}
}
[Castle.ActiveRecord.PropertyAttribute("[Region]")]
public virtual string Region {
get {
return this._region;
}
set {
this._region = value;
}
}
[Castle.ActiveRecord.PropertyAttribute("[Postal Code]")]
public virtual string PostalCode {
get {
return this._postalCode;
}
set {
this._postalCode = value;
}
}
[Castle.ActiveRecord.PropertyAttribute("[Country]")]
public virtual string Country {
get {
return this._country;
}
set {
this._country = value;
}
}
[Castle.ActiveRecord.PropertyAttribute("[Home Phone]")]
public virtual string HomePhone {
get {
return this._homePhone;
}
set {
this._homePhone = value;
}
}
[Castle.ActiveRecord.PropertyAttribute("[Extension]")]
public virtual string Extension {
get {
return this._extension;
}
set {
this._extension = value;
}
}
[Castle.ActiveRecord.PropertyAttribute("[Photo]")]
public virtual byte[] Photo {
get {
return this._photo;
}
set {
this._photo = value;
}
}
[Castle.ActiveRecord.PropertyAttribute("[Notes]")]
public virtual string Notes {
get {
return this._notes;
}
set {
this._notes = value;
}
}
[Castle.ActiveRecord.PropertyAttribute("[Reports To]")]
public virtual System.Nullable ReportsTo {
get {
return this._reportsTo;
}
set {
this._reportsTo = value;
}
}
}
}