Share via


EntitySet.CreateEntity Method

[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.]

Creates a new entity.

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

Syntax

'Declaration
Protected MustOverride Function CreateEntity As Entity
'Usage
Dim returnValue As Entity

returnValue = Me.CreateEntity()
protected abstract Entity CreateEntity()
protected:
virtual Entity^ CreateEntity() abstract
abstract CreateEntity : unit -> Entity 
protected abstract function CreateEntity() : Entity

Return Value

Type: System.ServiceModel.DomainServices.Client.Entity
The entity that was created.

See Also

Reference

EntitySet Class

System.ServiceModel.DomainServices.Client Namespace