[]
Gets a client view of entities of a given type.
public ClientView<T> GetItems<T>()
Type | Description |
---|---|
ClientView<T> | A client view of entities of the specified type. |
Name | Description |
---|---|
T | The type of entities to load. |
Entities are loaded using the System.Data.Metadata.Edm.EntitySet of the matching entity type from the System.Data.Objects.ObjectContext.DefaultContainerName
Gets a client view of entities from the specified entitySetName
.
public ClientView<T> GetItems<T>(string entitySetName)
Type | Name | Description |
---|---|---|
string | entitySetName | The name of the entity set to load entities from. |
Type | Description |
---|---|
ClientView<T> | A client view of entities from the specified |
Name | Description |
---|---|
T | The type of entities in the |