Create a custom SQL expression with Entity Framework, or how to make EF interpret your Value Types
A deep-dive at the internals of Entity Framework to come up with a solution to make EF interpret your value types, in this particular case a strongly-typed ID (of the StronglyTypedId NuGet Package).