8,707
社区成员




public partial class TCompany : System.Data.Objects.DataClasses.EntityObject, System.ComponentModel.INotifyPropertyChanged
{
[Required]
[StringLength(250)]
[Display(Name = "Address", ResourceType = (typeof(BizWords)))]
[System.Runtime.Serialization.DataMemberAttribute()]
public string Address
{
get
{
return this.AField;
}
set
{
if ((object.ReferenceEquals(this.AField, value) != true))
{
this.ValidateProperty("Address" , value);//自定义的方法
this.AField = value;
this.RaisePropertyChanged("Address");
}
}
}
}