Reputation: 232
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
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