DCSIMG
Pluralize or Singularize Generated Object Names Checkbox in Entity Framework 4 - Gil Fink's Blog

Gil Fink's Blog

Fink about IT

News

Microsoft MVP

My Facebook Profile My Twitter Profile My Linkedin Profile

Locations of visitors to this page

Creative Commons License

Disclaimer
The opinions expressed herein are my own personal opinions and do not represent my employer's view in anyway.
© Copyright 2013 Gil Fink

Hebrew Articles

Index Pages

My OSS Projects

English Articles

Pluralize or Singularize Generated Object Names Checkbox in Entity Framework 4

Pluralize or Singularize Generated Object Names Checkbox in Entity Framework 4

Creating entities with pluralize
or singularPluralize or Singularize Generated Object Names Checkbox in Entity Framework 4 object names was one
of the missing features in EF V1
Like LINQ to SQL now EF4 also
has a feature that enables to
pluralize or singularize the created objects automatically.
You have the choice whether to enable it or not by a new
checkbox in the EDM Wizard.

The Pluralize or Singularize Generated Object Names Checkbox

The first thing that you notice when you create a new Entity Data
Model
is the new Pluralize or Singularize Generated Object Names
checkbox
in the EDM Wizard. This checkbox tells EF4 EDM Wizard to
generate the object names with pluralize or singular names.
The Pluralize or Singularize Generated Object Names Checkbox
Now you won’t need to rename most of your entity or entity sets in the
model. Even though, I suggest to check the names that were created
automatically but as you will see in the next figures the new feature has
a nice dictionary. These are some of the entities that were generated by
the wizard:
Person Entity

Department Entity

Very nice!

Summary

Lets sum up, I showed another nice feature of the new EF4 in Visual
studio 2010 beta 1
version. This is a helpful feature but I didn’t fell
out of my feet when I saw it because other frameworks like
LINQ to SQL had it before. It was only a matter of time for EF team to add
that feature.

DotNetKicks Image

Comments

DotNetKicks.com said:

You've been kicked (a good thing) - Trackback from DotNetKicks.com

# May 22, 2009 10:11 PM

Learning resources for Entity Framework 4.0 new features « Bogdan Brinzarea’s blog said:

Pingback from  Learning resources for Entity Framework 4.0 new features «  Bogdan Brinzarea’s blog

# August 5, 2009 12:27 PM

ADO.NET Entity Framework 4 - Gil Fink on .Net said:

Pingback from  ADO.NET Entity Framework 4 - Gil Fink on .Net

# February 28, 2010 8:12 AM