I'm using Entity Framework 4.2 in code-only "mode". I'm letting it autogenerate my database from the model.
However, it's adding spaces to my table and column names based on title-casing - e.g. a CustomerOrder
class is mapped to a [Customer Orders]
table and a ProductNumber
property is mapped to a [Product Number]
field.
Is there any way of preventing this from happening - short of configuring every table and property name via the Fluent API (which I know how to do)?
Is this a new 4.2 thing?