Type mapping configuration and testing.
Using type mapping in entity framework.