Implements a data portal proxy to relay data portal calls to an application server hosted locally in the client process and AppDomain. More...
Public Member Functions | |
async Task< DataPortalResult > | Create (Type objectType, object criteria, DataPortalContext context, bool isSync) |
Called by the client-side DataPortal to create a new business object. More... | |
async Task< DataPortalResult > | Fetch (Type objectType, object criteria, DataPortalContext context, bool isSync) |
Called by the client-side DataPortal to fetch a business object. More... | |
async Task< DataPortalResult > | Update (object obj, DataPortalContext context, bool isSync) |
Called by the client-side DataPortal to update a business object. More... | |
async Task< DataPortalResult > | Delete (Type objectType, object criteria, DataPortalContext context, bool isSync) |
Called by the client-side DataPortal to delete a business object. More... | |
Properties | |
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... | |
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... | |
Implements a data portal proxy to relay data portal calls to an application server hosted locally in the client process and AppDomain.
Definition at line 25 of file BrokeredProxy.cs.
async Task< DataPortalResult > Csla.DataPortalClient.BrokeredProxy.Create | ( | Type | objectType, |
object | criteria, | ||
DataPortalContext | context, | ||
bool | isSync | ||
) |
Called by the client-side DataPortal to 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. |
Implements Csla.Server.IDataPortalServer.
Definition at line 45 of file BrokeredProxy.cs.
async Task< DataPortalResult > Csla.DataPortalClient.BrokeredProxy.Delete | ( | Type | objectType, |
object | criteria, | ||
DataPortalContext | context, | ||
bool | isSync | ||
) |
Called by the client-side DataPortal to delete a business object.
objectType | Type of business object to delete. |
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. |
Implements Csla.Server.IDataPortalServer.
Definition at line 185 of file BrokeredProxy.cs.
async Task< DataPortalResult > Csla.DataPortalClient.BrokeredProxy.Fetch | ( | Type | objectType, |
object | criteria, | ||
DataPortalContext | context, | ||
bool | isSync | ||
) |
Called by the client-side DataPortal to fetch a business object.
objectType | Type of business object to fetch. |
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. |
Implements Csla.Server.IDataPortalServer.
Definition at line 93 of file BrokeredProxy.cs.
async Task< DataPortalResult > Csla.DataPortalClient.BrokeredProxy.Update | ( | object | obj, |
DataPortalContext | context, | ||
bool | isSync | ||
) |
Called by the client-side DataPortal to 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. |
Implements Csla.Server.IDataPortalServer.
Definition at line 140 of file BrokeredProxy.cs.
|
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.
Definition at line 32 of file BrokeredProxy.cs.