Can you automatically remove characters from entities created?
Posted
by JamesStuddart
on Stack Overflow
See other posts from Stack Overflow
or by JamesStuddart
Published on 2010-05-01T16:43:58Z
Indexed on
2010/05/01
16:47 UTC
Read the original article
Hit count: 169
entity-framework-4
Hi,
In my sql database I have tables with name which include underscores, for readability. Just to try and make it clearer see below:
TableFoo
TableFoo_TableBah
Where TableFoo has a key linking to TableFoo_TableBah, this is done so you can quickly see what the table TableBah relates to. I have used this naming convention before with tools such as CodeSmith which give the option to remove the underscores, but I cannot see how to do this in Entity Framework 4.
Is there a way to do this, or am I stuck with either renaming my tables or having objets such as TableFoo_TableBah?
Thanks,
© Stack Overflow or respective owner