What's wrong with the default Id property which is a Guid? Actually, I have a custom class where I used a Guid as the key, however, instances of this class are always created programmatically and I use Guid.NewGuid for this. As far as I can tell, making
a property the key just means it can't be null and is unique, it's not actually created as a key in the database. BaseManagedEntityId just gets created as the clustered index key. I haven't ever tried setting AutoIncrement=True to see what happens...
Rob Ford scsmnz.net