public virtual bool equals(Object a)
{
if ((a as Catalog ) != null)
{
if (this.Material.Id == ((Catalog)a).Material.Id &&
this.Style.Id == ((Catalog)a).Style.Id)
{
return true;
}
}
return false;
}
重载equals方法
最新推荐文章于 2023-08-30 23:57:56 发布