I tend to design my classes with properties sorted in an order that makes sense to me. For example; I always make critical info like 'id' near the beginning, followed by less & less important data, and finally record meta data like 'create date' near the end.
But when I add the class to Visual Studio's (2010) class diagram, it sorts the properties alphabetically. Is there anyway to turn this functionality off?
Edit (11/05/11):
For example, I have the following class
public class Email
{
public Int64 Id { get; set; }
public Int64 UserId { get; set; }
public string Name { get; set; }
public string EmailAddress { get; set; }
public DateTime CreateDate { get; set; }
public DateTime UpdateDate { get; set; }
}
But when I add it to my diagram, it displays properties in the following order:
CreateDate
EmailAddress
Id
Name
UpdateDate
UserId
Instead of the order I expect
Id
UserId
Name
EmailAddress
CreateDate
UpdateDate