You can install and use EF Code First CTP5 using one of two
ways:
Approach 1) By downloading and running a setup program. Once
installed you can reference the EntityFramework.dll assembly it provides within
your projects.
or:
Approach 2) By using the NuGet Package Manager within Visual Studio to download and
install EF Code First within a project. To do this, simply bring up the
NuGet Package Manager Console within Visual Studio (View->Other
Windows->Package Manager Console) and type "Install-Package EFCodeFirst":
Typing “Install-Package EFCodeFirst” within
the Package Manager Console will cause NuGet to download the EF Code First
package, and add it to your current project:
Doing this will automatically add a reference to the
EntityFramework.dll assembly to your project:
NuGet enables you to have EF Code First setup and ready to
use within seconds. When the final release of EF Code First ships you’ll
also be able to just type “Update-Package EFCodeFirst” to update your existing
projects to use the final release.