Microsoft's recommended data access technology for new applications in .NET.
C# Other
Latest commit 7f6e085 @smitpatel smitpatel Allow conventions to create one-to-one relationship with single refer…
…ence navigation iff there is matching property on the target type of the navigation

If a relationship
- Has dependent to principal navigation of reference type
- Has principal to dependent navigation set as null
- Has matching property(-ies) on principal side
- Has no matching property(-ies) on dependent side
Then conventions will try to invert and make one-to-one relationship using the single navigation

Conventions will not match "Id" as a matching property since it is ambiguous.
If "Id" is PK for dependent entity then conventions will use PK property for FK as per existing rules

README.md

Entity Framework Core

Travis: Travis build Status (CoreCLR only, no SQL Server)

AppVeyor: AppVeyor

Documentation on using EF Core is available at http://docs.efproject.net.

EF Core here, EF6 on CodePlex

This project is for Entity Framework Core, which is currently in pre-release. Entity Framework 6.x is the latest stable release of EF and still under active development on CodePlex at http://entityframework.codeplex.com/.

Entity Framework Core

Entity Framework Core (EF Core) provides a familiar developer experience to previous versions of EF, including LINQ, POCO, and Code First support. EF Core also enables access to data across relational and non-relational stores. EF Core is much more lightweight than previous versions and is built from the ground up to work great in the cloud (using ASP.NET Core) on devices (i.e. in universal Windows apps) as well as in traditional .NET scenarios.

Getting Started

See the "Getting Started" guides in the EF documentation for tutorials on using EF Core.

Roadmap

EF Core is currently pre-release. For more details on the release schedule, see the Roadmap article in the wiki.