Provides consistent context information between the client and server DataPortal objects. More...
Public Member Functions | |
DataPortalContext (IPrincipal principal, bool isRemotePortal) | |
Creates a new DataPortalContext object. More... | |
DataPortalContext (IPrincipal principal, bool isRemotePortal, string clientCulture, string clientUICulture, ContextDictionary clientContext, ContextDictionary globalContext) | |
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... | |
Provides consistent context information between the client and server DataPortal objects.
Definition at line 20 of file DataPortalContext.cs.
Csla.Server.DataPortalContext.DataPortalContext | ( | IPrincipal | principal, |
bool | isRemotePortal | ||
) |
Creates a new DataPortalContext object.
principal | The current Principal object. |
isRemotePortal | Indicates whether the DataPortal is remote. |
Definition at line 107 of file DataPortalContext.cs.
Csla.Server.DataPortalContext.DataPortalContext | ( | IPrincipal | principal, |
bool | isRemotePortal, | ||
string | clientCulture, | ||
string | clientUICulture, | ||
ContextDictionary | clientContext, | ||
ContextDictionary | globalContext | ||
) |
Creates a new DataPortalContext object.
principal | The current Principal object. |
isRemotePortal | Indicates whether the DataPortal is remote. |
clientContext | Client context. |
clientCulture | Client culture. |
clientUICulture | Client UI culture. |
globalContext | Global context. |
Definition at line 141 of file DataPortalContext.cs.
Csla.Server.DataPortalContext.DataPortalContext | ( | ) |
Default constructor for use by SerializationFormatterFactory.GetFormatter().
Definition at line 154 of file DataPortalContext.cs.
|
get |
The culture setting on the client workstation.
Definition at line 56 of file DataPortalContext.cs.
|
get |
The culture setting on the client workstation.
Definition at line 65 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 96 of file DataPortalContext.cs.
|
get |
Returns true if the server-side DataPortal is running on a remote server via remoting.
Definition at line 47 of file DataPortalContext.cs.
|
get |
The current principal object if CSLA security is being used.
Definition at line 37 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 84 of file DataPortalContext.cs.