LINQ to SQL classes - C# renames tables

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'.
 
R

RayLopez99

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
 
J

Jeff Johnson

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

Top