CSLA.Server.DataPortal
Implements the server-side DataPortal as discussed
in Chapter 5.
Type of the business object to be instantiated by
the server-side DataPortal.
Initializes CriteriaBase with the type of
business object to be created by the DataPortal.
Base type from which Criteria classes can be
derived in a business class.
This method is called before an object is serialized.
This method is called on the original instance of the
object after it has been serialized.
This method is called on a newly deserialized object
after deserialization is complete.
Objects can implement this interface if they wish to be
notified of serialization events.
Note that .NET serialization does NOT call these methods. Only
code that checks for the ISerializationNotification interface
when serializating and deserializing objects will invoke these
methods.
The CSLA .NET framework's DataPortal processing and the Clone
method in BusinessBase automatically make these calls.
Invokes the Serializing method on the target object
if it has implemented ISerializationNotification.
Object on which the method should be invoked.
Invokes the Serialized method on the target object
if it has implemented ISerializationNotification.
Object on which the method should be invoked.
Invokes the Deserialized method on the target object
if it has implemented ISerializationNotification.
Object on which the method should be invoked.
Helper methods for invoking the ISerializatoinNotification
methods.
The current
if CSLA security is being used.
Returns True if the server-side DataPortal is running
on a remote server via remoting.
Creates a new DataPortalContext object.
Indicates whether the DataPortal is remote.
Creates a new DataPortalContext object.
The current Principal object.
Indicates whether the DataPortal is remote.
Provides consistent context information between the client
and server DataPortal objects.
The context includes the current
object if CSLA security is being used. It also includes a
flag indicating whether the server-side DataPortal is running
locally or remotely.