MikaelEliasson/EntityFramework.Utilities — pull request #11 by dahrnsbrak (2014-08-21 18:12:26+00:00)
Title: MappingHelper.cs for Type Hierarchies

When using type hierarchies in an EF project, the TypeName is not exactly the ElementType.FullName, but rather OfType(ElementType.FullName).
For example:

You can see documentation here:
http://msdn.microsoft.com/en-us/library/vstudio/bb399272(v=vs.100).aspx

I've tested this change on my project which uses type hierarchies and it works fine. I did not do any performance checks with the new conditional.