Allows the Data Portal call to be intercepted by a custom IDataPortalServer implementation.
More...
|
| | DataPortalBroker (DataPortalSelector dataPortalSelector) |
| Task< DataPortalResult > | Create ([DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicConstructors)] Type objectType, object criteria, DataPortalContext context, bool isSync) |
| | Create a new business object.- Parameters
-
| objectType | Type of business object to create. |
| criteria | Criteria object describing business object. |
| context | Server.DataPortalContext object passed to the server. |
| isSync | True if the client-side proxy should synchronously invoke the server. |
- Exceptions
-
| ArgumentNullException | objectType , criteria or context is null. |
|
| Task< DataPortalResult > | Fetch ([DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicConstructors)] Type objectType, object criteria, DataPortalContext context, bool isSync) |
| | Get an existing business object.- Parameters
-
| objectType | Type of business object to retrieve. |
| criteria | Criteria object describing business object. |
| context | Server.DataPortalContext object passed to the server. |
| isSync | True if the client-side proxy should synchronously invoke the server. |
- Exceptions
-
| ArgumentNullException | objectType , criteria or context is null. |
|
| Task< DataPortalResult > | Update (ICslaObject obj, DataPortalContext context, bool isSync) |
| | Update a business object.- Parameters
-
| obj | Business object to update. |
| context | Server.DataPortalContext object passed to the server. |
| isSync | True if the client-side proxy should synchronously invoke the server. |
- Exceptions
-
| ArgumentNullException | obj or context is null. |
|
| Task< DataPortalResult > | Delete ([DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicConstructors)] Type objectType, object criteria, DataPortalContext context, bool isSync) |
| | Delete a business object.- Parameters
-
| objectType | Type of business object to create. |
| criteria | Criteria object describing business object. |
| context | Server.DataPortalContext object passed to the server. |
| isSync | True if the client-side proxy should synchronously invoke the server. |
- Exceptions
-
| ArgumentNullException | objectType , criteria or context is null. |
|
Allows the Data Portal call to be intercepted by a custom IDataPortalServer implementation.
◆ DataPortalBroker()
- Parameters
-
- Exceptions
-
| ArgumentNullException | dataPortalSelector is null. |
◆ Create()
| Task< DataPortalResult > Csla.Server.DataPortalBroker.Create |
( |
[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicConstructors)] Type | objectType, |
|
|
object | criteria, |
|
|
DataPortalContext | context, |
|
|
bool | isSync ) |
|
inline |
Create a new business object.
- Parameters
-
| objectType | Type of business object to create. |
| criteria | Criteria object describing business object. |
| context | Server.DataPortalContext object passed to the server. |
| isSync | True if the client-side proxy should synchronously invoke the server. |
- Exceptions
-
| ArgumentNullException | objectType , criteria or context is null. |
Implements Csla.Server.IDataPortalServer.
◆ Delete()
| Task< DataPortalResult > Csla.Server.DataPortalBroker.Delete |
( |
[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicConstructors)] Type | objectType, |
|
|
object | criteria, |
|
|
DataPortalContext | context, |
|
|
bool | isSync ) |
|
inline |
Delete a business object.
- Parameters
-
| objectType | Type of business object to create. |
| criteria | Criteria object describing business object. |
| context | Server.DataPortalContext object passed to the server. |
| 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()
| Task< DataPortalResult > Csla.Server.DataPortalBroker.Fetch |
( |
[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicConstructors)] Type | objectType, |
|
|
object | criteria, |
|
|
DataPortalContext | context, |
|
|
bool | isSync ) |
|
inline |
Get an existing business object.
- Parameters
-
| objectType | Type of business object to retrieve. |
| criteria | Criteria object describing business object. |
| context | Server.DataPortalContext object passed to the server. |
| isSync | True if the client-side proxy should synchronously invoke the server. |
- Exceptions
-
| ArgumentNullException | objectType , criteria or context is null. |
Implements Csla.Server.IDataPortalServer.
◆ Update()
Update a business object.
- Parameters
-
| obj | Business object to update. |
| context | Server.DataPortalContext object passed to the server. |
| isSync | True if the client-side proxy should synchronously invoke the server. |
- Exceptions
-
| ArgumentNullException | obj or context is null. |
Implements Csla.Server.IDataPortalServer.
◆ DataPortalServer
The documentation for this class was generated from the following file: