I'm trying to write a tool that modifies an edmx file to add a table referenced by a SQL Server Synonym. I'm curious as to whether any of the code the designer already uses is somehow available to me.
To be more precise, I would like to avoid guessing which .NET property types to use in the CSDL to correspond to store provider (SQL Server 2008) property types in the SSDL. The SSDL seems to use straight SQL Server data types, so I have some confidence that SSDL I generate myself will be acceptable to the EDM designer. I want to have at least some confidence that any corresponding CSDL I generate, and the required MSL, will also be acceptable to the designer.
My other question, Entity Framework and SQL Server Synonyms, refers. I am trying to devise a way to add a table aliased by a synonym to an EDMX file.