Interface implemented by server-side data portal components. More...
Public Member Functions | |
Task< DataPortalResult > | Create (Type objectType, object criteria, DataPortalContext context, bool isSync) |
Create a new business object. More... | |
Task< DataPortalResult > | Fetch (Type objectType, object criteria, DataPortalContext context, bool isSync) |
Get an existing business object. More... | |
Task< DataPortalResult > | Update (object obj, DataPortalContext context, bool isSync) |
Update a business object. More... | |
Task< DataPortalResult > | Delete (Type objectType, object criteria, DataPortalContext context, bool isSync) |
Delete a business object. More... | |
Interface implemented by server-side data portal components.
Definition at line 17 of file IDataPortalServer.cs.
Task< DataPortalResult > Csla.Server.IDataPortalServer.Create | ( | Type | objectType, |
object | criteria, | ||
DataPortalContext | context, | ||
bool | isSync | ||
) |
Create a new business object.
objectType | Type of business object to create. |
criteria | Criteria object describing business object. |
context | Server.DataPortalContext object passed to the server. |
isSync | True if the client-side proxy should synchronously invoke the server. |
Implemented in Csla.DataPortalClient.BrokeredProxy, Csla.Channels.RabbitMq.RabbitMqProxy, Csla.DataPortalClient.DataPortalProxy, Csla.DataPortalClient.LocalProxy, Csla.DataPortalClient.WcfProxy, 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.
Task< DataPortalResult > Csla.Server.IDataPortalServer.Delete | ( | Type | objectType, |
object | criteria, | ||
DataPortalContext | context, | ||
bool | isSync | ||
) |
Delete a business object.
objectType | Type of business object to create. |
criteria | Criteria object describing business object. |
context | Server.DataPortalContext object passed to the server. |
isSync | True if the client-side proxy should synchronously invoke the server. |
Implemented in Csla.DataPortalClient.BrokeredProxy, Csla.Channels.RabbitMq.RabbitMqProxy, Csla.DataPortalClient.DataPortalProxy, Csla.DataPortalClient.LocalProxy, Csla.DataPortalClient.WcfProxy, 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.
Task< DataPortalResult > Csla.Server.IDataPortalServer.Fetch | ( | Type | objectType, |
object | criteria, | ||
DataPortalContext | context, | ||
bool | isSync | ||
) |
Get an existing business object.
objectType | Type of business object to retrieve. |
criteria | Criteria object describing business object. |
context | Server.DataPortalContext object passed to the server. |
isSync | True if the client-side proxy should synchronously invoke the server. |
Implemented in Csla.DataPortalClient.BrokeredProxy, Csla.Channels.RabbitMq.RabbitMqProxy, Csla.DataPortalClient.DataPortalProxy, Csla.DataPortalClient.LocalProxy, Csla.DataPortalClient.WcfProxy, 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.
Task< DataPortalResult > Csla.Server.IDataPortalServer.Update | ( | object | obj, |
DataPortalContext | context, | ||
bool | isSync | ||
) |
Update a business object.
obj | Business object to update. |
context | Server.DataPortalContext object passed to the server. |
isSync | True if the client-side proxy should synchronously invoke the server. |
Implemented in Csla.DataPortalClient.BrokeredProxy, Csla.Channels.RabbitMq.RabbitMqProxy, Csla.DataPortalClient.DataPortalProxy, Csla.DataPortalClient.LocalProxy, Csla.DataPortalClient.WcfProxy, 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.