Given the following model:
public class Foo { public int Id { get; set;} public Bar TheBar { get; set; } } public class Bar { public int Id { ge
You want the MapKey method in the fluent interface.
MapKey
Alternately, if you do this throughout your model, CTP 5 has pluggable conventions, although this is, AFAIK, not well-documented yet.