byte[] _DiseaseImage;
[Column(DbType = "Image", UpdateCheck = UpdateCheck.Never)] //保证图像超出8K时不会出错
public byte[] DiseaseImage
{
get
{
return (byte[])this._DiseaseImage;
}
set
{
if (this._DiseaseImage != value)
{
OnPropertyChanging("DiseaseImage");
this._DiseaseImage = value;
OnPropertyChanged("DiseaseImage");
}
}
}
时间: 2024-11-03 23:56:58