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.Configuration.DataPortalClientOptions Class Reference

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...
 

Detailed Description

Client-side data portal options.

Definition at line 15 of file DataPortalClientOptions.cs.

Constructor & Destructor Documentation

◆ DataPortalClientOptions()

Csla.Configuration.DataPortalClientOptions.DataPortalClientOptions ( CslaOptions  options)

Creates an instance of the type.

Parameters
options

Definition at line 21 of file DataPortalClientOptions.cs.

Member Function Documentation

◆ AuthenticationType()

DataPortalClientOptions Csla.Configuration.DataPortalClientOptions.AuthenticationType ( string  authenticationType)

Sets the authentication type being used by the CSLA .NET framework.

Parameters
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.

◆ AutoCloneOnUpdate()

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.

Parameters
autoCloneOnUpdate

Definition at line 44 of file DataPortalClientOptions.cs.

◆ DataPortalReturnObjectOnException()

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.

Parameters
returnObjectOnException

Definition at line 73 of file DataPortalClientOptions.cs.

Property Documentation

◆ Services

IServiceCollection Csla.Configuration.DataPortalClientOptions.Services
get

Gets the current service collection.

Definition at line 34 of file DataPortalClientOptions.cs.