Provides consistent context information between the client and server DataPortal objects. More...
Public Member Functions | |
| DataPortalContext (ApplicationContext applicationContext, IPrincipal principal, bool isRemotePortal) | |
| Creates a new DataPortalContext object. More... | |
| DataPortalContext (ApplicationContext applicationContext, IPrincipal principal, bool isRemotePortal, string clientCulture, string clientUICulture, ContextDictionary clientContext) | |
| Creates a new DataPortalContext object. More... | |
| DataPortalContext () | |
| Default constructor for use by SerializationFormatterFactory.GetFormatter(). More... | |
Public Member Functions inherited from Csla.Serialization.Mobile.IMobileObject | |
| void | GetState (SerializationInfo info) |
| Method called by MobileFormatter when an object should serialize its data. More... | |
| void | GetChildren (SerializationInfo info, MobileFormatter formatter) |
| Method called by MobileFormatter when an object should serialize its child references. More... | |
| void | SetState (SerializationInfo info) |
| Method called by MobileFormatter when an object should be deserialized. More... | |
| void | SetChildren (SerializationInfo info, MobileFormatter formatter) |
| Method called by MobileFormatter when an object should deserialize its child references. More... | |
Properties | |
| IPrincipal | Principal [get] |
| The current principal object if CSLA security is being used. More... | |
| bool | IsRemotePortal [get] |
| Returns true if the server-side DataPortal is running on a remote server via remoting. More... | |
| string | ClientCulture [get] |
| The culture setting on the client workstation. More... | |
| string | ClientUICulture [get] |
| The culture setting on the client workstation. More... | |
| TransactionalTypes | TransactionalType [getset] |
| Gets the current transactional type. More... | |
| ObjectFactoryAttribute | FactoryInfo [getset] |
| Gets the current ObjectFactory attribute value (if any). More... | |
Properties inherited from Csla.Core.IUseApplicationContext | |
| ApplicationContext | ApplicationContext [getset] |
| Gets or sets the current ApplicationContext object. More... | |
Provides consistent context information between the client and server DataPortal objects.
Definition at line 20 of file DataPortalContext.cs.
| Csla.Server.DataPortalContext.DataPortalContext | ( | ApplicationContext | applicationContext, |
| IPrincipal | principal, | ||
| bool | isRemotePortal | ||
| ) |
Creates a new DataPortalContext object.
| applicationContext | ApplicationContext instance. |
| principal | The current Principal object. |
| isRemotePortal | Indicates whether the DataPortal is remote. |
Definition at line 105 of file DataPortalContext.cs.
| Csla.Server.DataPortalContext.DataPortalContext | ( | ApplicationContext | applicationContext, |
| IPrincipal | principal, | ||
| bool | isRemotePortal, | ||
| string | clientCulture, | ||
| string | clientUICulture, | ||
| ContextDictionary | clientContext | ||
| ) |
Creates a new DataPortalContext object.
| 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. |
Definition at line 124 of file DataPortalContext.cs.
| Csla.Server.DataPortalContext.DataPortalContext | ( | ) |
Default constructor for use by SerializationFormatterFactory.GetFormatter().
Definition at line 137 of file DataPortalContext.cs.
|
get |
The culture setting on the client workstation.
Definition at line 55 of file DataPortalContext.cs.
|
get |
The culture setting on the client workstation.
Definition at line 64 of file DataPortalContext.cs.
|
getset |
Gets the current ObjectFactory attribute value (if any).
Only valid in the server-side data portal methods after the attribute value has been determined.
Definition at line 90 of file DataPortalContext.cs.
|
get |
Returns true if the server-side DataPortal is running on a remote server via remoting.
Definition at line 46 of file DataPortalContext.cs.
|
get |
The current principal object if CSLA security is being used.
Definition at line 36 of file DataPortalContext.cs.
|
getset |
Gets the current transactional type.
Only valid in the server-side data portal methods after the transactional type has been determined.
Definition at line 78 of file DataPortalContext.cs.