Looking at code first, I see some examples that use [DatabaseGenerated(DatabaseGeneratedOption.Identity)] to denote a primary key, and other examples that use [Key].
I haven't been able to find a description of how the two compare.
Can someone tell me when/if I'd want to use one over the other?