Keep the underscore in table column names in the class?
Posted: Mon 24 Jan 2011 16:19
I'm running a test with Linq.
When the Entity Developer generates the C Sharp codes, I notice the under score (_) of the table column names are removed. For example, in the database, if I have:
CREATE TABLE table1 (
col_1_a VARCHAR;
);
the generated C Sharp code will become:
table1.col1a
Is there any way I can keep the underscore of the column name in the C Sharp codes?
Thank you.
When the Entity Developer generates the C Sharp codes, I notice the under score (_) of the table column names are removed. For example, in the database, if I have:
CREATE TABLE table1 (
col_1_a VARCHAR;
);
the generated C Sharp code will become:
table1.col1a
Is there any way I can keep the underscore of the column name in the C Sharp codes?
Thank you.