public SimpleDbAttributeValue this[string attributeName]
{
get
{
if (!_attributes.HasAttribute(attributeName))
{
return null;
}
return _attributes[attributeName].Value;
}
set
{
if (!_attributes.HasAttribute(attributeName))
{
_attributes.Add(attributeName, value);
}
else
{
_attributes[attributeName].Value = value;
}
}
}