Share via


DomainServiceDescription.EntityTypes 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 the types of entities exposed by the DomainService.

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

Syntax

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

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

Property Value

Type: System.Collections.Generic.IEnumerable<Type>
A collection of the types of entities exposed by the DomainService.

See Also

Reference

DomainServiceDescription Class

System.ServiceModel.DomainServices.Server Namespace