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?
 
Back
Top