Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

difference between entity name and Entity Set Name

I'm using .Net 3.5 with SP1.

This may be simple. But, I'm not sure about the difference between entity name and Entity Set Name

Please help me.

like image 674
gmail user Avatar asked Dec 15 '10 15:12

gmail user


1 Answers

An entity name is a class name.

An entity set name is a query.

For example, you can have an entity named "Person" with an entity set named "People". This lets you write code like:

Person bob = Context.People.Where(p => p.Id == bobId).Single();
like image 89
Craig Stuntz Avatar answered Oct 07 '22 01:10

Craig Stuntz