LINQ to SQL classes - C# renames tables

  • Thread starter Thread starter cate
  • Start date Start date
C

cate

The LINQ to SQL classes have been created and now I'm dragging, from
the ‘Server Explorer’, three tables into the Obj Relational Designer
window. C# renamed tables! It removed a terminal 'S' from both. Why
did it do that? I see no conflicts which would require changing a
table name from 'Authors' to 'Author'.
 
The LINQ to SQL classes have been created and now I'm dragging, from
the ‘Server Explorer’, three tables into the Obj Relational Designer
window.  C# renamed tables!  It removed a terminal 'S' from both.  Why
did it do that?  I see no conflicts which would require changing  a
table name from  'Authors' to 'Author'.

This is as old as the hills. I too have no idea why but it's not a
big deal, you just have to learn to live with this pluralization.

RL
 
The LINQ to SQL classes have been created and now I'm dragging, from
the ‘Server Explorer’, three tables into the Obj Relational Designer
window. C# renamed tables! It removed a terminal 'S' from both. Why
did it do that? I see no conflicts which would require changing a
table name from 'Authors' to 'Author'.

Does this class represent an entire table or one row from it?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Linq to SQL - Bug? 3
SQL to LINQ questions 13
LINQ to SQL + SQL Server 7 6
LINQ and access databse 2
linq troubles 5
"LIKE" operator in LINQ to SQL? 4
LINQ-to-SQL and intersection entities 4
LINQ-to-SQL maintenance 15

Back
Top