Hello Friends,
I have 2 scenarios,
Scenario 1:
Ok, i was using the
Object Relational Designer, i dragged my database table into the ORD(Object Relational Designer)
I went to the tools option, then into the O/R designer and then when i saw the
Enable Pluralization option, it was by default set to true.
Now, i instantiated the DataContext class like below(I gave some random name to the DataContext class):
MyDataBaseDataContext db = new MyDataBaseDataContext(connectionString);
So, it became difficult for me to directly access the actual table from the database.
Scenario 2:
Now, i again went back to the option of
Enable Pluralization, i turned it off. This time, every thing was different. Another overload in the DataContext class was added, it was an empty constructor(it din't ask for any connection string).
I then directly instantiated the datacontext class and used its object to querry my table.
Why does this happen? whats the difference in enabling and disabling the pluralization?
Thanks a ton,
Rahul