0
喜,SQLMetal產生這樣的代碼:C#SQLMetal生成的代碼
[Column(Storage = "_specimen", DbType = "VarChar(100)")]
public string Specimen
{
get
{
return this._specimen;
}
set
{
if ((this._specimen != value))
{
this.OnSpecimenChanging(value);
this.SendPropertyChanging();
this._specimen = value;
this.SendPropertyChanged("specimen");
this.OnSpecimenChanged();
}
}
}
什麼OnSpecimenChanging
,所有這些方法呢?並且this.SendPropertyChanged("specimen");
的樣本是否必須全部大寫或不區分大小寫?