Provides consistent context information between the client and server DataPortal objects.
More...
|
| IPrincipal? | Principal [get] |
| | The current principal object if CSLA security is being used.
|
| bool | IsRemotePortal [get] |
| | Returns true if the server-side DataPortal is running on a remote server via remoting.
|
| string | ClientCulture [get] |
| | The culture setting on the client workstation.
|
| string | ClientUICulture [get] |
| | The culture setting on the client workstation.
|
| TransactionalTypes | TransactionalType [get, set] |
| | Gets the current transactional type. Only valid in the server-side data portal methods after the transactional type has been determined.
|
| ObjectFactoryAttribute? | FactoryInfo [get, set] |
| | Gets the current ObjectFactory attribute value (if any). Only valid in the server-side data portal methods after the attribute value has been determined.
|
Provides consistent context information between the client and server DataPortal objects.
◆ DataPortalContext() [1/3]
| Csla.Server.DataPortalContext.DataPortalContext |
( |
ApplicationContext | applicationContext, |
|
|
bool | isRemotePortal ) |
|
inline |
Creates a new DataPortalContext object.
- Parameters
-
- Exceptions
-
| ArgumentNullException | applicationContext is null. |
◆ DataPortalContext() [2/3]
| Csla.Server.DataPortalContext.DataPortalContext |
( |
ApplicationContext | applicationContext, |
|
|
IPrincipal? | principal, |
|
|
bool | isRemotePortal, |
|
|
string | clientCulture, |
|
|
string | clientUICulture, |
|
|
IContextDictionary | clientContext ) |
|
inline |
Creates a new DataPortalContext object.
- Parameters
-
| applicationContext | ApplicationContext instance. |
| principal | The current Principal object. |
| isRemotePortal | Indicates whether the DataPortal is remote. |
| clientContext | Client context. |
| clientCulture | Client culture. |
| clientUICulture | Client UI culture. |
- Exceptions
-
| ArgumentNullException | applicationContext , clientCulture , clientUICulture or clientContext is null. |
◆ DataPortalContext() [3/3]
| Csla.Server.DataPortalContext.DataPortalContext |
( |
| ) |
|
|
inline |
Default constructor for use by SerializationFormatterFactory.GetFormatter().
◆ ClientCulture
| string Csla.Server.DataPortalContext.ClientCulture |
|
get |
The culture setting on the client workstation.
◆ ClientUICulture
| string Csla.Server.DataPortalContext.ClientUICulture |
|
get |
The culture setting on the client workstation.
◆ FactoryInfo
Gets the current ObjectFactory attribute value (if any). Only valid in the server-side data portal methods after the attribute value has been determined.
◆ IsRemotePortal
| bool Csla.Server.DataPortalContext.IsRemotePortal |
|
get |
Returns true if the server-side DataPortal is running on a remote server via remoting.
◆ Principal
| IPrincipal? Csla.Server.DataPortalContext.Principal |
|
get |
The current principal object if CSLA security is being used.
◆ TransactionalType
Gets the current transactional type. Only valid in the server-side data portal methods after the transactional type has been determined.
The documentation for this class was generated from the following file: