CSLA.NET 5.4.2
CSLA .NET is a software development framework that helps you build a reusable, maintainable object-oriented business layer for your app.
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 object. More...
 
 DataPortalEventArgs (Server.DataPortalContext dataPortalContext, Type objectType, object obj, DataPortalOperations operation, Exception exception)
 Creates an instance of the object. More...
 

Properties

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

Detailed Description

Provides information about the DataPortal call.

Definition at line 16 of file DataPortalEventArgs.cs.

Constructor & Destructor Documentation

◆ DataPortalEventArgs() [1/2]

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

Creates an instance of the object.

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

Definition at line 88 of file DataPortalEventArgs.cs.

◆ DataPortalEventArgs() [2/2]

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

Creates an instance of the object.

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

Definition at line 114 of file DataPortalEventArgs.cs.

Property Documentation

◆ DataPortalContext

Server.DataPortalContext Csla.DataPortalEventArgs.DataPortalContext
get

The DataPortalContext object passed to the server-side DataPortal.

Definition at line 28 of file DataPortalEventArgs.cs.

◆ 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.

Definition at line 50 of file DataPortalEventArgs.cs.

◆ Object

object Csla.DataPortalEventArgs.Object
get

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

Definition at line 68 of file DataPortalEventArgs.cs.

◆ ObjectType

Type Csla.DataPortalEventArgs.ObjectType
get

Gets the object type being processed by the data portal.

Definition at line 59 of file DataPortalEventArgs.cs.

◆ Operation

DataPortalOperations Csla.DataPortalEventArgs.Operation
get

Gets the requested data portal operation.

Definition at line 36 of file DataPortalEventArgs.cs.