views:

73

answers:

2

I keep searching the web for examples of the new fluent API syntax in Microsoft's Entity Framework technology previews ... I come up with bits and pieces here and there.

Is there any reliable place to go to find ALL the possibilities? And maybe something that explains them a bit ("HasRequired", "WithMany", etc.)?

FYI, I am specifically trying to figure out how to define a foreign key/primary key relationship explicitly through fluent API.

+1  A: 

No, unfortunately, not at this time. The current syntax is a preview and subject to change. There is no official documentation yet. There is nothing in MSDN. The best one-stop example I found is here. See also this post and the items linked there.

Folks on the leading edge can expect turbulence. :)

Craig Stuntz
A: 

The best reference at the moment are blog posts (=> google). You can start with ADO.NET Team blog where are announced new features with examples.

Ladislav Mrnka