Using Entity Framework Core 1.0 in UWP without crashing the .NET Native toolchain

Update 2016/9/14:

Microsoft has provided official support for Entity Framework in Universal Windows Platform. Just install EntityFrameworkCore.Sqlite from NuGet package manager and you are set.

And, install latest UWP tools to prevent crashing toolchain.

One thing to reminder:

IQueryable is broken in .NET Native. Consider using rd.xml to improve performance.