开发者

difference between entity name and Entity Set Name

I'm using .Net 3.5 with SP1.

This may be simple. But开发者_如何学C, I'm not sure about the difference between entity name and Entity Set Name

Please help me.


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();
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜