CSLA.NET 6.0.0
CSLA .NET is a software development framework that helps you build a reusable, maintainable object-oriented business layer for your app.
Csla.Testing.Business.TestProxies.AppDomainProxy Class Reference

This is a test proxy used to test any type of calls that have to be send accross to a different AppDomain (non local styff) More...

Inheritance diagram for Csla.Testing.Business.TestProxies.AppDomainProxy:
Csla.DataPortalClient.IDataPortalProxy Csla.Server.IDataPortalServer

Public Member Functions

async Task< DataPortalResultCreate (Type objectType, object criteria, DataPortalContext context, bool isSync)
 Create a new business object. More...
 
async Task< DataPortalResultFetch (Type objectType, object criteria, DataPortalContext context, bool isSync)
 Get an existing business object. More...
 
async Task< DataPortalResultUpdate (object obj, DataPortalContext context, bool isSync)
 Update a business object. More...
 
async Task< DataPortalResultDelete (Type objectType, object criteria, DataPortalContext context, bool isSync)
 Delete a business object. More...
 

Properties

bool IsServerRemote [get]
 
- Properties inherited from Csla.DataPortalClient.IDataPortalProxy
bool IsServerRemote [get]
 Get a value indicating whether this proxy will invoke a remote data portal server, or run the "server-side" data portal in the caller's process and AppDomain. More...
 

Detailed Description

This is a test proxy used to test any type of calls that have to be send accross to a different AppDomain (non local styff)

Definition at line 23 of file AppDomainProxy.cs.

Member Function Documentation

◆ Create()

async Task< DataPortalResult > Csla.Testing.Business.TestProxies.AppDomainProxy.Create ( Type  objectType,
object  criteria,
DataPortalContext  context,
bool  isSync 
)

Create a new business object.

Parameters
objectTypeType of business object to create.
criteriaCriteria object describing business object.
contextServer.DataPortalContext object passed to the server.
isSyncTrue if the client-side proxy should synchronously invoke the server.

Implements Csla.Server.IDataPortalServer.

Definition at line 87 of file AppDomainProxy.cs.

◆ Delete()

async Task< DataPortalResult > Csla.Testing.Business.TestProxies.AppDomainProxy.Delete ( Type  objectType,
object  criteria,
DataPortalContext  context,
bool  isSync 
)

Delete a business object.

Parameters
objectTypeType of business object to create.
criteriaCriteria object describing business object.
contextServer.DataPortalContext object passed to the server.
isSyncTrue if the client-side proxy should synchronously invoke the server.

Implements Csla.Server.IDataPortalServer.

Definition at line 217 of file AppDomainProxy.cs.

◆ Fetch()

async Task< DataPortalResult > Csla.Testing.Business.TestProxies.AppDomainProxy.Fetch ( Type  objectType,
object  criteria,
DataPortalContext  context,
bool  isSync 
)

Get an existing business object.

Parameters
objectTypeType of business object to retrieve.
criteriaCriteria object describing business object.
contextServer.DataPortalContext object passed to the server.
isSyncTrue if the client-side proxy should synchronously invoke the server.

Implements Csla.Server.IDataPortalServer.

Definition at line 132 of file AppDomainProxy.cs.

◆ Update()

async Task< DataPortalResult > Csla.Testing.Business.TestProxies.AppDomainProxy.Update ( object  obj,
DataPortalContext  context,
bool  isSync 
)

Update a business object.

Parameters
objBusiness object to update.
contextServer.DataPortalContext object passed to the server.
isSyncTrue if the client-side proxy should synchronously invoke the server.

Implements Csla.Server.IDataPortalServer.

Definition at line 178 of file AppDomainProxy.cs.

Property Documentation

◆ IsServerRemote

bool Csla.Testing.Business.TestProxies.AppDomainProxy.IsServerRemote
get

Definition at line 296 of file AppDomainProxy.cs.