Posted on: 5/23/2014 12:17:00 AM | Views : 1299

A question I've seen asked a few times on our internal email lists "how to expose tables that have integer keys in the database through the .NET Backend?". The key is to use AutoMapper (see Mapping between Database Types and Client Types in the .NET Backend using AutoMapper an introduction). For example, the other day a customer commented:
If you are trying to integrate with an existing database or creating your tables from scratch with int or bigint id columns, how can we use those?Wintelect's John Garland had some good feedback, which I will elaborate on here.
Note: Typically, when starting from an Entity Framework Code-First model in your .NET Backe ...

Go to the complete details ...