DomainServiceDescription.RootEntityTypes Property

[WCF RIA Services Version 1 Service Pack 2 is compatible with either .NET framework 4 or .NET Framework 4.5, and with either Silverlight 4 or Silverlight 5.]

Gets all the root entity types exposed by the domain service.

Namespace:  System.ServiceModel.DomainServices.Server
Assembly:  System.ServiceModel.DomainServices.Server (in System.ServiceModel.DomainServices.Server.dll)

Syntax

'Declaration
Public ReadOnly Property RootEntityTypes As IEnumerable(Of Type)
    Get
'Usage
Dim instance As DomainServiceDescription
Dim value As IEnumerable(Of Type)

value = instance.RootEntityTypes
public IEnumerable<Type> RootEntityTypes { get; }
public:
property IEnumerable<Type^>^ RootEntityTypes {
    IEnumerable<Type^>^ get ();
}
member RootEntityTypes : IEnumerable<Type>
function get RootEntityTypes () : IEnumerable<Type>

Property Value

Type: System.Collections.Generic.IEnumerable<Type>
A collection of the root entity types exposed by the domain service.

Remarks

A root entity type is the least derived entity type within an entity hierarchy exposed by a domain service. It does not have to be the actual base type of the hierarchy.

See Also

Reference

DomainServiceDescription Class

System.ServiceModel.DomainServices.Server Namespace