开发者

What is Entity and EntitySets in RIA Services?

开发者 https://www.devze.com 2023-03-12 10:42 出处:网络
I am new to RIA Services and I want to understand Entity 开发者_如何学运维and EntitySets in RIA Services

I am new to RIA Services and I want to understand Entity 开发者_如何学运维and EntitySets in RIA Services

Are "Entity Sets" Tables and Entity a column in the Entity Sets?

Thus Entity Sets having one or more Entities?


All Ria Services object inherit from System.ServiceModel.DomainServices.ClientEntity and they include a bunch of other interfaces like INotifyDataErrorInfo and IChangeTracking. In short if you are using an ORM link EF4 with RIA Services each table would become an 'Entity'.

EntitySet represents a collection of Entity instances. http://msdn.microsoft.com/query/dev10.query?appId=Dev10IDEF1&l=EN-US&k=k(ENTITYSET);k(DevLang-CSHARP)&rd=true

EntitySet's are normally created automatically by Ria and your ORM.

Hope that helps.

0

精彩评论

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