Implements the server-side Serviced DataPortal described in Chapter 4. More...
Public Member Functions | |
| async Task< DataPortalResult > | Create (Type objectType, object criteria, DataPortalContext context, bool isSync) |
| Wraps a Create call in a ServicedComponent. More... | |
| async Task< DataPortalResult > | Fetch (Type objectType, object criteria, DataPortalContext context, bool isSync) |
| Wraps a Fetch call in a ServicedComponent. More... | |
| async Task< DataPortalResult > | Update (object obj, DataPortalContext context, bool isSync) |
| Wraps an Update call in a ServicedComponent. More... | |
| async Task< DataPortalResult > | Delete (Type objectType, object criteria, DataPortalContext context, bool isSync) |
| Wraps a Delete call in a ServicedComponent. More... | |
Implements the server-side Serviced DataPortal described in Chapter 4.
Definition at line 23 of file ServicedDataPortalSerializable.cs.
| async Task< DataPortalResult > Csla.Server.ServicedDataPortalSerializable.Create | ( | Type | objectType, |
| object | criteria, | ||
| DataPortalContext | context, | ||
| bool | isSync | ||
| ) |
Wraps a Create call in a ServicedComponent.
This method delegates to SimpleDataPortal but wraps that call within a COM+ transaction to provide transactional support.
| objectType | A Type object indicating the type of business object to be created. |
| criteria | A custom criteria object providing any extra information that may be required to properly create the object. |
| context | Context data from the client. |
| isSync | True if the client-side proxy should synchronously invoke the server. |
Implements Csla.Server.IDataPortalServer.
Definition at line 43 of file ServicedDataPortalSerializable.cs.
| async Task< DataPortalResult > Csla.Server.ServicedDataPortalSerializable.Delete | ( | Type | objectType, |
| object | criteria, | ||
| DataPortalContext | context, | ||
| bool | isSync | ||
| ) |
Wraps a Delete call in a ServicedComponent.
This method delegates to SimpleDataPortal but wraps that call within a COM+ transaction to provide transactional support.
| objectType | Type of business object to create. |
| criteria | Object-specific criteria. |
| context | Context data from the client. |
| isSync | True if the client-side proxy should synchronously invoke the server. |
Implements Csla.Server.IDataPortalServer.
Definition at line 105 of file ServicedDataPortalSerializable.cs.
| async Task< DataPortalResult > Csla.Server.ServicedDataPortalSerializable.Fetch | ( | Type | objectType, |
| object | criteria, | ||
| DataPortalContext | context, | ||
| bool | isSync | ||
| ) |
Wraps a Fetch call in a ServicedComponent.
This method delegates to SimpleDataPortal but wraps that call within a COM+ transaction to provide transactional support.
| objectType | Type of business object to retrieve. |
| criteria | Object-specific criteria. |
| context | Object containing context data from client. |
| isSync | True if the client-side proxy should synchronously invoke the server. |
Implements Csla.Server.IDataPortalServer.
Definition at line 65 of file ServicedDataPortalSerializable.cs.
| async Task< DataPortalResult > Csla.Server.ServicedDataPortalSerializable.Update | ( | object | obj, |
| DataPortalContext | context, | ||
| bool | isSync | ||
| ) |
Wraps an Update call in a ServicedComponent.
This method delegates to SimpleDataPortal but wraps that call within a COM+ transaction to provide transactional support.
| obj | A reference to the object being updated. |
| context | Context data from the client. |
| isSync | True if the client-side proxy should synchronously invoke the server. |
Implements Csla.Server.IDataPortalServer.
Definition at line 85 of file ServicedDataPortalSerializable.cs.