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.Server.ServicedDataPortalReadUncommitted Class Reference

Implements the server-side Serviced DataPortal described in Chapter 4. More...

Inheritance diagram for Csla.Server.ServicedDataPortalReadUncommitted:
Csla.Server.IDataPortalServer

Public Member Functions

async Task< DataPortalResultCreate (Type objectType, object criteria, DataPortalContext context, bool isSync)
 Wraps a Create call in a ServicedComponent. More...
 
async Task< DataPortalResultFetch (Type objectType, object criteria, DataPortalContext context, bool isSync)
 Wraps a Fetch call in a ServicedComponent. More...
 
async Task< DataPortalResultUpdate (object obj, DataPortalContext context, bool isSync)
 Wraps an Update call in a ServicedComponent. More...
 
async Task< DataPortalResultDelete (Type objectType, object criteria, DataPortalContext context, bool isSync)
 Wraps a Delete call in a ServicedComponent. More...
 

Detailed Description

Implements the server-side Serviced DataPortal described in Chapter 4.

Definition at line 23 of file ServicedDataPortalReadUncommitted.cs.

Member Function Documentation

◆ Create()

async Task< DataPortalResult > Csla.Server.ServicedDataPortalReadUncommitted.Create ( Type  objectType,
object  criteria,
DataPortalContext  context,
bool  isSync 
)

Wraps a Create call in a ServicedComponent.

This method delegates to SimpleDataPortal but wraps that call within a COM+ transaction to provide transactional support.

Parameters
objectTypeA Type object indicating the type of business object to be created.
criteriaA custom criteria object providing any extra information that may be required to properly create the object.
contextContext data from the client.
isSyncTrue if the client-side proxy should synchronously invoke the server.
Returns
A populated business object.

Implements Csla.Server.IDataPortalServer.

Definition at line 43 of file ServicedDataPortalReadUncommitted.cs.

◆ Delete()

async Task< DataPortalResult > Csla.Server.ServicedDataPortalReadUncommitted.Delete ( Type  objectType,
object  criteria,
DataPortalContext  context,
bool  isSync 
)

Wraps a Delete call in a ServicedComponent.

This method delegates to SimpleDataPortal but wraps that call within a COM+ transaction to provide transactional support.

Parameters
objectTypeType of business object to create.
criteriaObject-specific criteria.
contextContext data from the client.
isSyncTrue if the client-side proxy should synchronously invoke the server.

Implements Csla.Server.IDataPortalServer.

Definition at line 105 of file ServicedDataPortalReadUncommitted.cs.

◆ Fetch()

async Task< DataPortalResult > Csla.Server.ServicedDataPortalReadUncommitted.Fetch ( Type  objectType,
object  criteria,
DataPortalContext  context,
bool  isSync 
)

Wraps a Fetch call in a ServicedComponent.

This method delegates to SimpleDataPortal but wraps that call within a COM+ transaction to provide transactional support.

Parameters
objectTypeType of business object to retrieve.
criteriaObject-specific criteria.
contextObject containing context data from client.
isSyncTrue if the client-side proxy should synchronously invoke the server.
Returns
A populated business object.

Implements Csla.Server.IDataPortalServer.

Definition at line 65 of file ServicedDataPortalReadUncommitted.cs.

◆ Update()

async Task< DataPortalResult > Csla.Server.ServicedDataPortalReadUncommitted.Update ( object  obj,
DataPortalContext  context,
bool  isSync 
)

Wraps an Update call in a ServicedComponent.

This method delegates to SimpleDataPortal but wraps that call within a COM+ transaction to provide transactional support.

Parameters
objA reference to the object being updated.
contextContext data from the client.
isSyncTrue if the client-side proxy should synchronously invoke the server.
Returns
A reference to the newly updated object.

Implements Csla.Server.IDataPortalServer.

Definition at line 85 of file ServicedDataPortalReadUncommitted.cs.