[]
        
(Showing Draft Content)

C1.Data.Entities.EntityClientScope.GetItems

GetItems Method

GetItems<T>()

Gets a client view of entities of a given type.

Declaration
public ClientView<T> GetItems<T>()
Returns
Type Description
ClientView<T>

A client view of entities of the specified type.

Type Parameters
Name Description
T

The type of entities to load.

Remarks

Entities are loaded using the System.Data.Metadata.Edm.EntitySet of the matching entity type from the System.Data.Objects.ObjectContext.DefaultContainerName

GetItems<T>(string)

Gets a client view of entities from the specified entitySetName.

Declaration
public ClientView<T> GetItems<T>(string entitySetName)
Parameters
Type Name Description
string entitySetName

The name of the entity set to load entities from.

Returns
Type Description
ClientView<T>

A client view of entities from the specified entitySetName.

Type Parameters
Name Description
T

The type of entities in the entitySetName.