CSLA .NET 10.0.0
A home for your business logic
Loading...
Searching...
No Matches
Csla.DataPortalResult< T > Class Template Reference

DataPortalResult defines the results of DataPortal operation. It contains object that was received from the server, an error (if occurred) and userState - user defined information that was passed into data portal on initial request. More...

Inheritance diagram for Csla.DataPortalResult< T >:
Csla.IDataPortalResult

Public Member Functions

 DataPortalResult (T? obj, Exception? ex, object? userState)
 Create new instance of data portal result.

Properties

T? Object [get]
 Object that DataPortal received as a result of current operation.
Exception? Error [get]
 Error that occurred during the DataPortal call. This will be null if no errors occurred.
object? UserState [get]
 User defined information that was passed into data portal on initial request.

Detailed Description

DataPortalResult defines the results of DataPortal operation. It contains object that was received from the server, an error (if occurred) and userState - user defined information that was passed into data portal on initial request.

Template Parameters
TType of object that DataPortal received

Member Function Documentation

◆ DataPortalResult()

Csla.DataPortalResult< T >.DataPortalResult ( T? obj,
Exception? ex,
object? userState )
inline

Create new instance of data portal result.

Parameters
objObject that DataPortal received as a result of current operation
exError that occurred during the DataPotal call. This will be null if no errors occurred.
userStateUser defined information that was passed into data portal on initial request

Property Documentation

◆ Error

Exception? Csla.DataPortalResult< T >.Error
get

Error that occurred during the DataPortal call. This will be null if no errors occurred.

Implements Csla.IDataPortalResult.

◆ Object

T? Csla.DataPortalResult< T >.Object
get

Object that DataPortal received as a result of current operation.

Implements Csla.IDataPortalResult.

◆ UserState

object? Csla.DataPortalResult< T >.UserState
get

User defined information that was passed into data portal on initial request.

Implements Csla.IDataPortalResult.


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