Client-side data portal options. More...
Public Member Functions | |
| DataPortalClientOptions (CslaOptions options) | |
| Creates an instance of the type. More... | |
| DataPortalClientOptions | AutoCloneOnUpdate (bool autoCloneOnUpdate) |
| Sets a value indicating whether objects should be automatically cloned by the data portal Update() method when using a local data portal configuration. More... | |
| DataPortalClientOptions | AuthenticationType (string authenticationType) |
| Sets the authentication type being used by the CSLA .NET framework. More... | |
| DataPortalClientOptions | DataPortalReturnObjectOnException (bool returnObjectOnException) |
| Sets a value indicating whether the server-side business object should be returned to the client as part of the DataPortalException. More... | |
Properties | |
| IServiceCollection | Services [get] |
| Gets the current service collection. More... | |
Client-side data portal options.
Definition at line 15 of file DataPortalClientOptions.cs.
| Csla.Configuration.DataPortalClientOptions.DataPortalClientOptions | ( | CslaOptions | options | ) |
Creates an instance of the type.
| options |
Definition at line 21 of file DataPortalClientOptions.cs.
| DataPortalClientOptions Csla.Configuration.DataPortalClientOptions.AuthenticationType | ( | string | authenticationType | ) |
Sets the authentication type being used by the CSLA .NET framework.
| authenticationType |
Set to "Windows" to use OS impersonation. Any other value causes the data portal to flow the client-side user principal to the server. Client and server must use the same authentication type.
Definition at line 61 of file DataPortalClientOptions.cs.
| DataPortalClientOptions Csla.Configuration.DataPortalClientOptions.AutoCloneOnUpdate | ( | bool | autoCloneOnUpdate | ) |
Sets a value indicating whether objects should be automatically cloned by the data portal Update() method when using a local data portal configuration.
| autoCloneOnUpdate |
Definition at line 44 of file DataPortalClientOptions.cs.
| DataPortalClientOptions Csla.Configuration.DataPortalClientOptions.DataPortalReturnObjectOnException | ( | bool | returnObjectOnException | ) |
Sets a value indicating whether the server-side business object should be returned to the client as part of the DataPortalException.
| returnObjectOnException |
Definition at line 73 of file DataPortalClientOptions.cs.
|
get |
Gets the current service collection.
Definition at line 34 of file DataPortalClientOptions.cs.