嘿,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");
是否必须全部大写或不区分大小写?