Implements the server-side DataPortal message router as discussed in Chapter 4.
More...
|
class | NullAuthorizer |
| Default implementation of the authorizer that allows all data portal calls to pass. More...
|
|
|
| DataPortal () |
| Default constructor More...
|
|
async Task< DataPortalResult > | Create (Type objectType, object criteria, DataPortalContext context, bool isSync) |
| Create a new business object. More...
|
|
async Task< DataPortalResult > | Fetch (Type objectType, object criteria, DataPortalContext context, bool isSync) |
| Get an existing business object. More...
|
|
async Task< DataPortalResult > | Update (object obj, DataPortalContext context, bool isSync) |
| Update a business object. More...
|
|
async Task< DataPortalResult > | Delete (Type objectType, object criteria, DataPortalContext context, bool isSync) |
| Delete a business object. More...
|
|
|
static object | GetCriteriaFromArray (params object[] criteria) |
| Converts a params array to a single serializable criteria value. More...
|
|
static object[] | GetCriteriaArray (object criteria) |
| Converts a single serializable criteria value into an array of type object. More...
|
|
|
| DataPortal (string cslaAuthorizationProviderAppSettingName) |
| This construcor accepts the App Setting name for the Csla Authorization Provider, therefore getting the provider type from configuration file More...
|
|
| DataPortal (Type authProviderType) |
| This constructor accepts the Authorization Provider Type as a parameter. More...
|
|
Implements the server-side DataPortal message router as discussed in Chapter 4.
Definition at line 21 of file Server/DataPortal.cs.
◆ DataPortal() [1/3]
Csla.Server.DataPortal.DataPortal |
( |
| ) |
|
◆ DataPortal() [2/3]
Csla.Server.DataPortal.DataPortal |
( |
string |
cslaAuthorizationProviderAppSettingName | ) |
|
|
protected |
This construcor accepts the App Setting name for the Csla Authorization Provider, therefore getting the provider type from configuration file
- Parameters
-
cslaAuthorizationProviderAppSettingName | |
Definition at line 48 of file Server/DataPortal.cs.
◆ DataPortal() [3/3]
Csla.Server.DataPortal.DataPortal |
( |
Type |
authProviderType | ) |
|
|
protected |
This constructor accepts the Authorization Provider Type as a parameter.
- Parameters
-
Definition at line 57 of file Server/DataPortal.cs.
◆ Create()
◆ Delete()
◆ Fetch()
◆ GetCriteriaArray()
static object[] Csla.Server.DataPortal.GetCriteriaArray |
( |
object |
criteria | ) |
|
|
static |
Converts a single serializable criteria value into an array of type object.
- Parameters
-
criteria | Single serializble criteria value |
- Returns
Definition at line 755 of file Server/DataPortal.cs.
◆ GetCriteriaFromArray()
static object Csla.Server.DataPortal.GetCriteriaFromArray |
( |
params object[] |
criteria | ) |
|
|
static |
Converts a params array to a single serializable criteria value.
- Parameters
-
- Returns
Definition at line 730 of file Server/DataPortal.cs.
◆ Update()
◆ Authorizer
◆ Dashboard
◆ InterceptorType
Type Csla.Server.DataPortal.InterceptorType |
|
staticgetset |
Gets or sets the type of interceptor invoked by the data portal for pre- and post-processing of each data portal invocation.
Definition at line 556 of file Server/DataPortal.cs.