Implements the server-side Serviced DataPortal described in Chapter 4.
More...
|
| | ServicedDataPortalSerializable (DataPortalBroker dataPortalBroker) |
| Task< DataPortalResult > | Create (Type objectType, object criteria, DataPortalContext context, bool isSync) |
| | Wraps a Create call in a ServicedComponent.
|
| Task< DataPortalResult > | Fetch (Type objectType, object criteria, DataPortalContext context, bool isSync) |
| | Wraps a Fetch call in a ServicedComponent.
|
| Task< DataPortalResult > | Update (ICslaObject obj, DataPortalContext context, bool isSync) |
| | Wraps an Update call in a ServicedComponent.
|
| Task< DataPortalResult > | Delete (Type objectType, object criteria, DataPortalContext context, bool isSync) |
| | Wraps a Delete call in a ServicedComponent.
|
Implements the server-side Serviced DataPortal described in Chapter 4.
◆ ServicedDataPortalSerializable()
| Csla.Server.ServicedDataPortalSerializable.ServicedDataPortalSerializable |
( |
DataPortalBroker | dataPortalBroker | ) |
|
|
inline |
- Parameters
-
- Exceptions
-
| ArgumentNullException | dataPortalBroker is null. |
◆ Create()
Wraps a Create call in a ServicedComponent.
This method delegates to SimpleDataPortal but wraps that call within a COM+ transaction to provide transactional support.
- Parameters
-
| objectType | A System.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. |
- Returns
- A populated business object.
- Exceptions
-
| ArgumentNullException | objectType , criteria or context is null. |
Implements Csla.Server.IDataPortalServer.
◆ Delete()
Wraps a Delete call in a ServicedComponent.
This method delegates to SimpleDataPortal but wraps that call within a COM+ transaction to provide transactional support.
- Parameters
-
| 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. |
- Exceptions
-
| ArgumentNullException | objectType , criteria or context is null. |
Implements Csla.Server.IDataPortalServer.
◆ Fetch()
Wraps a Fetch call in a ServicedComponent.
This method delegates to SimpleDataPortal but wraps that call within a COM+ transaction to provide transactional support.
- Parameters
-
| 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. |
- Returns
- A populated business object.
- Exceptions
-
| ArgumentNullException | objectType , criteria or context is null. |
Implements Csla.Server.IDataPortalServer.
◆ Update()
Wraps an Update call in a ServicedComponent.
This method delegates to SimpleDataPortal but wraps that call within a COM+ transaction to provide transactional support.
- Parameters
-
| 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. |
- Returns
- A reference to the newly updated object.
- Exceptions
-
| ArgumentNullException | obj or context is null. |
Implements Csla.Server.IDataPortalServer.
The documentation for this class was generated from the following file: