CSLA .NET 10.0.0
A home for your business logic
Loading...
Searching...
No Matches
Csla.Server.IDataPortalServer Interface Reference

Interface implemented by server-side data portal components. More...

Inheritance diagram for Csla.Server.IDataPortalServer:
Csla.DataPortalClient.IDataPortalProxy Csla.Server.DataPortal Csla.Server.DataPortalBroker Csla.Server.DataPortalSelector Csla.Server.FactoryDataPortal Csla.Server.ServicedDataPortalReadCommitted Csla.Server.ServicedDataPortalReadUncommitted Csla.Server.ServicedDataPortalRepeatableRead Csla.Server.ServicedDataPortalSerializable Csla.Server.SimpleDataPortal Csla.Server.TransactionalDataPortal

Public Member Functions

Task< DataPortalResultCreate ([DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicConstructors)] Type objectType, object criteria, DataPortalContext context, bool isSync)
 Create a new business object.
Task< DataPortalResultFetch ([DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicConstructors)] Type objectType, object criteria, DataPortalContext context, bool isSync)
 Get an existing business object.
Task< DataPortalResultUpdate (ICslaObject obj, DataPortalContext context, bool isSync)
 Update a business object.
Task< DataPortalResultDelete ([DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicConstructors)] Type objectType, object criteria, DataPortalContext context, bool isSync)
 Delete a business object.

Detailed Description

Interface implemented by server-side data portal components.

Member Function Documentation

◆ Create()

Task< DataPortalResult > Csla.Server.IDataPortalServer.Create ( [DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicConstructors)] 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.
Exceptions
ArgumentNullExceptionobjectType , criteria or context is null.

Implemented in Csla.Channels.Local.LocalProxy, Csla.Channels.RabbitMq.RabbitMqProxy, Csla.DataPortalClient.DataPortalProxy, Csla.Server.DataPortal, Csla.Server.DataPortalBroker, Csla.Server.DataPortalSelector, Csla.Server.FactoryDataPortal, Csla.Server.ServicedDataPortalReadCommitted, Csla.Server.ServicedDataPortalReadUncommitted, Csla.Server.ServicedDataPortalRepeatableRead, Csla.Server.ServicedDataPortalSerializable, Csla.Server.SimpleDataPortal, and Csla.Server.TransactionalDataPortal.

◆ Delete()

Task< DataPortalResult > Csla.Server.IDataPortalServer.Delete ( [DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicConstructors)] 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.
Exceptions
ArgumentNullExceptionobjectType , criteria or context is null.

Implemented in Csla.Channels.Local.LocalProxy, Csla.Channels.RabbitMq.RabbitMqProxy, Csla.DataPortalClient.DataPortalProxy, Csla.Server.DataPortal, Csla.Server.DataPortalBroker, Csla.Server.DataPortalSelector, Csla.Server.FactoryDataPortal, Csla.Server.ServicedDataPortalReadCommitted, Csla.Server.ServicedDataPortalReadUncommitted, Csla.Server.ServicedDataPortalRepeatableRead, Csla.Server.ServicedDataPortalSerializable, Csla.Server.SimpleDataPortal, and Csla.Server.TransactionalDataPortal.

◆ Fetch()

Task< DataPortalResult > Csla.Server.IDataPortalServer.Fetch ( [DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicConstructors)] 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.
Exceptions
ArgumentNullExceptionobjectType , criteria or context is null.

Implemented in Csla.Channels.Local.LocalProxy, Csla.Channels.RabbitMq.RabbitMqProxy, Csla.DataPortalClient.DataPortalProxy, Csla.Server.DataPortal, Csla.Server.DataPortalBroker, Csla.Server.DataPortalSelector, Csla.Server.FactoryDataPortal, Csla.Server.ServicedDataPortalReadCommitted, Csla.Server.ServicedDataPortalReadUncommitted, Csla.Server.ServicedDataPortalRepeatableRead, Csla.Server.ServicedDataPortalSerializable, Csla.Server.SimpleDataPortal, and Csla.Server.TransactionalDataPortal.

◆ Update()

Task< DataPortalResult > Csla.Server.IDataPortalServer.Update ( ICslaObject obj,
DataPortalContext context,
bool isSync )

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