Reputation: 3
I have a project with C# where I use Code First EF with SQL Server.
My problem is that I have multiple instances of my database. In one of them, I have the column name "Hello" and in the other "hello" for example.
How do I manage case sensitivity in such as scenario?
Upvotes: 0
Views: 1546
Reputation: 23200
Entity Framework don't care about case sensitivity of your columns or tables names.
You can use the same DbContext
on the two database as long as the tables and columns names match (case sensitivity is ignored).
Upvotes: 1