Q: Entity Framework Code First property with a different name from the convention I have the following setup using Entity Framework Code First:-
public Player
{
    [Key]
    public int PlayerId { get; set; }

    public int? ClubId { get; set; }
    public virtual Club Club { get; set; }
}

public class Club
{
    public int ClubId { get; set; }

    public string Name { get; set; }
}

I want to rename the property 'Club' in the 'Player' class to 'CurrentClub', as it makes more sense in my application, however this fails as it doesn't follow the naming convention that EF uses out of the box.
How can I rename the property successfully?
From what I've seen, I thought I could use the [ForeignKey("Name")] attribute, however I can't find a reference for it. I can see posts saying that it has moved namespace....but I still can't find it. I'm using .NET 4.0, but have .NET 4.5 installed on my machine.
Is the ForeignKey attribute the correct way to do it, or do I need to do some model binding? If so, what do I need?
