Compartilhar via


DomainClient.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 or sets the collection of entity types this DomainClient will operate on.

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

Syntax

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

value = instance.EntityTypes

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

Property Value

Type: System.Collections.Generic.IEnumerable<Type>
A collection of entity types this object will operate on.

See Also

Reference

DomainClient Class

System.ServiceModel.DomainServices.Client Namespace