//------------------------------------------------------------------------------
//
// 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("[Products]")]
public partial class Products {
private int _productID;
private string _productName;
private string _englishName;
private string _quantityPerUnit;
private System.Nullable _unitPrice;
private System.Nullable _unitsInStock;
private System.Nullable _unitsOnOrder;
private System.Nullable _reorderLevel;
private bool _discontinued;
[Castle.ActiveRecord.PrimaryKeyAttribute(Castle.ActiveRecord.PrimaryKeyType.Identity, "[Product ID]")]
public virtual int Id {
get {
return this._productID;
}
set {
this._productID = value;
}
}
[Castle.ActiveRecord.PropertyAttribute("[Product Name]")]
public virtual string ProductName {
get {
return this._productName;
}
set {
this._productName = value;
}
}
[Castle.ActiveRecord.PropertyAttribute("[English Name]")]
public virtual string EnglishName {
get {
return this._englishName;
}
set {
this._englishName = value;
}
}
[Castle.ActiveRecord.PropertyAttribute("[Quantity Per Unit]")]
public virtual string QuantityPerUnit {
get {
return this._quantityPerUnit;
}
set {
this._quantityPerUnit = value;
}
}
[Castle.ActiveRecord.PropertyAttribute("[Unit Price]")]
public virtual System.Nullable UnitPrice {
get {
return this._unitPrice;
}
set {
this._unitPrice = value;
}
}
[Castle.ActiveRecord.PropertyAttribute("[Units In Stock]")]
public virtual System.Nullable UnitsInStock {
get {
return this._unitsInStock;
}
set {
this._unitsInStock = value;
}
}
[Castle.ActiveRecord.PropertyAttribute("[Units On Order]")]
public virtual System.Nullable UnitsOnOrder {
get {
return this._unitsOnOrder;
}
set {
this._unitsOnOrder = value;
}
}
[Castle.ActiveRecord.PropertyAttribute("[Reorder Level]")]
public virtual System.Nullable ReorderLevel {
get {
return this._reorderLevel;
}
set {
this._reorderLevel = value;
}
}
[Castle.ActiveRecord.PropertyAttribute("[Discontinued]")]
public virtual bool Discontinued {
get {
return this._discontinued;
}
set {
this._discontinued = value;
}
}
}
}