Custom DDL Templates for Visual Studio 2010

Posted by Stacey on Stack Overflow See other posts from Stack Overflow or by Stacey
Published on 2010-04-14T19:42:11Z Indexed on 2010/04/14 19:53 UTC
Read the original article Hit count: 131

Filed under:

I was wondering if anyone knows of some good community distributed custom DDL templates for Entity Framework 4.0. The default DDL to SQL10 Works well enough, but we're looking to do some customization to the naming convention that it just isn't offering us.

I'm not really finding many samples out there of people doing this, so I was hoping someone might know of a resource I'm overlooking (perhaps I am searching for it wrong, or misunderstanding how the whole process works)

Specifically we're wanting to change up how it writes out fields from relationships. For instance, the default template puts in..

tablename_propertyendpoint_propertyname.

We're wanting to find tune this to our naming scheme a little more. And none of us can quite figure out where in the .tt files it is doing this exact behavior.

© Stack Overflow or respective owner

Related posts about entity-framework-4