CSLA .NET 10.0.0
A home for your business logic
Loading...
Searching...
No Matches
Csla.DataPortalEventArgs Class Reference

Provides information about the DataPortal call. More...

Inheritance diagram for Csla.DataPortalEventArgs:

Public Member Functions

 DataPortalEventArgs (Server.DataPortalContext? dataPortalContext, Type objectType, object? obj, DataPortalOperations operation)
 Creates an instance of the type.
 DataPortalEventArgs (Server.DataPortalContext? dataPortalContext, Type objectType, object? obj, DataPortalOperations operation, Exception exception)
 Creates an instance of the type.

Properties

Server.? DataPortalContext DataPortalContext [get]
 The DataPortalContext object passed to the server-side DataPortal.
DataPortalOperations Operation [get]
 Gets the requested data portal operation.
Exception? Exception [get]
 Gets a reference to any exception that occurred during the data portal call.
Type ObjectType [get]
 Gets the object type being processed by the data portal.
object? Object [get]
 Gets the criteria object or business object being processed by the data portal.

Detailed Description

Provides information about the DataPortal call.

Constructor & Destructor Documentation

◆ DataPortalEventArgs() [1/2]

Csla.DataPortalEventArgs.DataPortalEventArgs ( Server.DataPortalContext? dataPortalContext,
Type objectType,
object? obj,
DataPortalOperations operation )
inline

Creates an instance of the type.

Parameters
dataPortalContextData portal context object.
objectTypeBusiness object type.
objCriteria or business object for request.
operationData portal operation being performed.
Exceptions
ArgumentNullExceptionobjectType is null.

◆ DataPortalEventArgs() [2/2]

Csla.DataPortalEventArgs.DataPortalEventArgs ( Server.DataPortalContext? dataPortalContext,
Type objectType,
object? obj,
DataPortalOperations operation,
Exception exception )
inline

Creates an instance of the type.

Parameters
dataPortalContextData portal context object.
objectTypeBusiness object type.
objCriteria or business object for request.
operationData portal operation being performed.
exceptionException encountered during processing.
Exceptions
ArgumentNullExceptionobjectType or exception is null.

Property Documentation

◆ DataPortalContext

Server.? DataPortalContext Csla.DataPortalEventArgs.DataPortalContext
get

The DataPortalContext object passed to the server-side DataPortal.

◆ Exception

Exception? Csla.DataPortalEventArgs.Exception
get

Gets a reference to any exception that occurred during the data portal call.

This property will return Nothing (null in C#) if no exception occurred. Exceptions are returned only as part of a data portal complete event or method.

◆ Object

object? Csla.DataPortalEventArgs.Object
get

Gets the criteria object or business object being processed by the data portal.

◆ ObjectType

Type Csla.DataPortalEventArgs.ObjectType
get

Gets the object type being processed by the data portal.

◆ Operation

DataPortalOperations Csla.DataPortalEventArgs.Operation
get

Gets the requested data portal operation.


The documentation for this class was generated from the following file: