public void MakeID()
{
if (!_customPropertyValues.ContainsKey("id") || _customPropertyValues["id"] == null || _customPropertyValues["id"].Equals(""))
{
SetPropertyValue("id", Guid.NewGuid().ToString(), false);
}
//对所有集合性质的子进行处理
foreach (BaseObjectList list in (from p in _customPropertyValues.Values where p is BaseObjectList select p))
{
list.MakeID();
}
}
#endregion