I was creating my entity on the Entity Data Model Designer and by mistake I created 2 properties with the same name but different cases, lets say CustomerID and CustomerId.
Since the Entity Data Model Designer is case sensitive, it didn’t complain and generated the script, but when executing it, it failed because I ended up having a table with 2 columns with the same name.
My question is, is there a way of making the Entity Data Model Designer case-insensitive, so it can see that CustomerID and CustomerId are the same column and I can spot these errors during development?
No this validation option is not part of Entity Data Model Designer. EDMX and C# are case sensitive and even SQL Server can be case sensitive if you set up your database that way.