How to stop the EDMX generator from changing columns names
问题 If a table has column names that are the same as the table name the EDMX Generator suffixes the column name with a "1". Ex: Changing Test to Test1 in the sample below. SQL Server Table definition: CREATE TABLE [dbo].[Test]( [Test] nchar NOT NULL, [ColumnsTwo] nchar NULL, EF Model created: <EntitySetMapping Name="Test"> <EntityTypeMapping TypeName="AdventureWorksModel.Test"> <MappingFragment StoreEntitySet="Test"> <ScalarProperty Name="ColumnsTwo" ColumnName="ColumnsTwo" /> <ScalarProperty