The newest version of SocialTFS support Entity Framework.
Now is possible set the mapping in an easy way for the developer.
Add a new element in the project ProxyServer
and select ADO.NET Entity Framework.
Select Generate database from model
click on next
Select all tables.
Now we have a file .edmx
that represents the mapping to the database.
The procedure is not ended, because we have to modify a few things.
We need to rename these properties:
in these ones