Compartilhar via


EntityContainer.LoadEntities Method (IEnumerable)

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

Loads the specified collection of entities into this EntityContainer.

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

Syntax

'Declaration
Public Function LoadEntities ( _
    entities As IEnumerable _
) As IEnumerable
'Usage
Dim instance As EntityContainer
Dim entities As IEnumerable
Dim returnValue As IEnumerable

returnValue = instance.LoadEntities(entities)
public IEnumerable LoadEntities(
    IEnumerable entities
)
public:
IEnumerable^ LoadEntities(
    IEnumerable^ entities
)
member LoadEntities : 
        entities:IEnumerable -> IEnumerable 
public function LoadEntities(
    entities : IEnumerable
) : IEnumerable

Parameters

Return Value

Type: System.Collections.IEnumerable
An IEnumerable representing the collection of entities.

Exceptions

Exception Condition
[ArgumentNullException]

entities is nulla null reference (Nothing in Visual Basic).

See Also

Reference

EntityContainer Class

LoadEntities Overload

System.ServiceModel.DomainServices.Client Namespace