Oleksandr Khytrov
Oleksandr Khytrov

Reputation: 232

Custom naming in Entity Framework database first

I have auto generated legacy MS SQL database with encoded column and table names, and text file with codes and description of corresponding tables and columns. Is is possible to use names from text file on model creating using Entity Framework database first?

Upvotes: 1

Views: 146

Answers (1)

David Browne - Microsoft
David Browne - Microsoft

Reputation: 89071

No, there's nothing built-in that will do that for you. You can write a program that reads the text file and outputs a C# code file with the entity definitions and mapping attributes.

Upvotes: 2

Related Questions