Provides an automated way to reuse an ADO.NET Data Services context object within the context of a single data portal operation. More...
Public Member Functions | |
List< T > | GetEntities< T > () |
Gets a list of the entities of the specified type from the context. More... | |
T | GetEntity< T > (string keyPropertyName, object keyPropertyValue) |
Gets a list of the entities by key. More... | |
Static Public Member Functions | |
static DataServiceContextManager< C > | GetManager (Uri path) |
Gets the DataServiceContext object for the specified URI. More... | |
Properties | |
C | DataServiceContext [get] |
Gets the DataServiceContext object. More... | |
Provides an automated way to reuse an ADO.NET Data Services context object within the context of a single data portal operation.
C | Type of context object to use. |
C | : | System.Data.Services.Client.DataServiceContext |
Definition at line 22 of file DataServiceContextManager.cs.
List< T > Csla.Data.DataServiceContextManager< C >.GetEntities< T > | ( | ) |
Gets a list of the entities of the specified type from the context.
T | Type of entity. |
Definition at line 84 of file DataServiceContextManager.cs.
T Csla.Data.DataServiceContextManager< C >.GetEntity< T > | ( | string | keyPropertyName, |
object | keyPropertyValue | ||
) |
Gets a list of the entities by key.
T | Type of entity. |
keyPropertyName | Name of the key property. |
keyPropertyValue | Key value to match. |
Definition at line 109 of file DataServiceContextManager.cs.
|
static |
Gets the DataServiceContext object for the specified URI.
path | URI to the server-side services. |
Definition at line 35 of file DataServiceContextManager.cs.
|
get |
Gets the DataServiceContext object.
Definition at line 63 of file DataServiceContextManager.cs.