EntityContainer.CreateEntitySet<TEntity> Method (EntitySetOperations)
[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.]
Create an EntitySet in this container for the specified EntitySetOperations.
Namespace: System.ServiceModel.DomainServices.Client
Assembly: System.ServiceModel.DomainServices.Client (in System.ServiceModel.DomainServices.Client.dll)
Syntax
'Declaration
Protected Sub CreateEntitySet(Of TEntity As Entity) ( _
supportedOperations As EntitySetOperations _
)
'Usage
Dim supportedOperations As EntitySetOperations
Me.CreateEntitySet(supportedOperations)
protected void CreateEntitySet<TEntity>(
EntitySetOperations supportedOperations
)
where TEntity : Entity
protected:
generic<typename TEntity>
where TEntity : Entity
void CreateEntitySet(
EntitySetOperations supportedOperations
)
member CreateEntitySet :
supportedOperations:EntitySetOperations -> unit when 'TEntity : Entity
JScript does not support generic types and methods.
Type Parameters
- TEntity
The entity type.
Parameters
- supportedOperations
Type: System.ServiceModel.DomainServices.Client.EntitySetOperations
The operations supported for the entity type.