string BuildAttributeName(string name, bool forcePascalNaming)
{
_buffer.Length = 0;
if (forcePascalNaming && !Char.IsUpper(name[0]))
{
_buffer.Append(Char.ToUpper(name[0]));
_buffer.Append(name.Substring(1));
_buffer.Append("Attribute");
}
else
{
_buffer.Append(name);
_buffer.Append("Attribute");
}
return _buffer.ToString();
}