ARTICLE

Turning Off Pluralization of Classes in LINQ to SQL O/R Designer

Posted by Dhananjay Kumar Articles | LINQ June 28, 2011
In this quick article, I will show you how to avoid pluralization of classes in LINQ to SQL.
Reader Level:


In this quick article, I will show you how to avoid pluralization of classes in LINQ to SQL.

Step 1:

Open Visual Studio and click on Tool from the Menu. Then select Options:

LiSql1.gif

Step 2:

Select the Database Tools tab:

LiSql2.gif

Step 3:

Now choose the "O/R Designer" option from the Database tool tab:

LiSql3.gif

Step 4:

Change Enabled to False.

LiSql4.gif

Now when you create a data model using LINQ to SQL, pluralization of classes would be turned off.

I hope this quick article was useful. Thanks for reading.
 

Login to add your contents and source code to this article
post comment
     

This article sounds good for those who are aware of Pluralization of classes and facing problem. I am new in this field. So want to know what exactly is Pluralization of classes. what type of problem we face if as in your article we enable the option true. Can you explain me with an example. Thank in advance

Posted by Om prakash Singh Jun 28, 2011
COMMENT USING
PREMIUM SPONSORS
Over-C is a holistic consortium of communications and technology specialists. We build, deploy and market both business as well as consumer products and solutions.
Join a Chapter
SPONSORED BY
  • PDF reports have never been easier to create. With our included WYSIWYG Designer, you can layout your reports, set up your data source and let DynamicPDF ReportWriter do the rest.
Join a Chapter