Welcome

首页 / 脚本样式 / ExtJS / ExtJs+WCF+LINQ实现分页Grid(2)

ExtJs+WCF+LINQ实现分页Grid(2)2010-12-05 博客园 jillzhang[DataMember]

[Column (Storage="_WeightUnitMeasureCode", DbType="NChar(3) ")]
public string WeightUnitMeasureCode
{
get
{
return this._WeightUnitMeasureCode;
}
set
{
if ((this._WeightUnitMeasureCode != value))
{
this.OnWeightUnitMeasureCodeChanging(value);
this.SendPropertyChanging();
this._WeightUnitMeasureCode = value;
this.SendPropertyChanged("WeightUnitMeasureCode");
this.OnWeightUnitMeasureCodeChanged();
}
}
}

[DataMember]

[Column(Storage="_Weight", DbType="Decimal(8,2)")]
public System.Nullable<decimal> Weight
{
get
{
return this._Weight;
}
set
{
if ((this._Weight != value))
{
this.OnWeightChanging(value);
this.SendPropertyChanging();
this._Weight = value;
this.SendPropertyChanged ("Weight");
this.OnWeightChanged ();
}
}
}

[DataMember]

[Column (Storage="_DaysToManufacture", DbType="Int NOT NULL")]
public int DaysToManufacture
{
get
{
return this._DaysToManufacture;
}
set
{
if ((this._DaysToManufacture != value))
{
this.OnDaysToManufactureChanging(value);
this.SendPropertyChanging();
this._DaysToManufacture = value;
this.SendPropertyChanged("DaysToManufacture");
this.OnDaysToManufactureChanged();
}
}
}

[DataMember]

[Column(Storage="_ProductLine", DbType="NChar(2)")]
public string ProductLine
{
get
{
return this._ProductLine;
}
set
{
if ((this._ProductLine != value))
{
this.OnProductLineChanging(value);
this.SendPropertyChanging();
this._ProductLine = value;
this.SendPropertyChanged("ProductLine");
this.OnProductLineChanged();
}
}
}