public override string ToString()
{
//如果对象有配置的名字,返回名字
if (Name != null)
{
return Name;
}
object id = GetPropertyValue("id");
if (EntityType == null && id == null)
{
return base.ToString();
}
else if (EntityType != null)
{
return EntityType + ":" + id;
}
return id.ToString();
}
#endregion