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.
CslaConfigurationOptions.cs
Go to the documentation of this file.
1//-----------------------------------------------------------------------
2// <copyright file="CslaConfigurationOptions.cs" company="Marimer LLC">
3// Copyright (c) Marimer LLC. All rights reserved.
4// Website: https://cslanet.com
5// </copyright>
6// <summary>Contains configuration options which can be loaded </summary>
7//-----------------------------------------------------------------------
8using System;
9using System.Transactions;
10
11namespace Csla.Configuration
12{
18 {
24 {
26 }
27
41 public string VersionRoutingTag
42 {
43 get { return ConfigurationManager.AppSettings["CslaVersionRoutingTag"]; }
44 set
45 {
46 if (!string.IsNullOrWhiteSpace(value))
47 if (value.Contains("-") || value.Contains("/"))
48 throw new ArgumentException("valueRoutingToken");
49 ConfigurationManager.AppSettings["CslaVersionRoutingTag"] = value;
51 }
52 }
53
60
65
73
79
84 }
85}
Provides consistent context information between the client and server DataPortal objects.
static Type SerializationFormatter
Gets the serialization formatter type used by CSLA .NET for all explicit object serialization (such a...
static PropertyChangedModes PropertyChangedMode
Gets or sets a value specifying how CSLA .NET should raise PropertyChanged events.
static int DefaultTransactionTimeoutInSeconds
Gets or sets the default transaction timeout in seconds.
PropertyChangedModes
Enum representing the way in which CSLA .NET should raise PropertyChanged events.
static string VersionRoutingTag
Gets a value representing the application version for use in server-side data portal routing.
static System.Transactions.TransactionScopeAsyncFlowOption DefaultTransactionAsyncFlowOption
Gets or sets the default transaction async flow option used to create new TransactionScope objects.
static TransactionIsolationLevel DefaultTransactionIsolationLevel
Gets or sets the default transaction isolation level.
Contains configuration options which can be loaded using dot net core configuration subsystem
TransactionIsolationLevel DefaultTransactionIsolationLevel
Sets the default transaction isolation level.
int DefaultTransactionTimeoutInSeconds
Gets or sets the default transaction timeout in seconds.
ApplicationContext.PropertyChangedModes PropertyChangedMode
Gets or sets a value specifying how CSLA .NET should raise PropertyChanged events.
string VersionRoutingTag
Gets or sets a value representing the application version for use in server-side data portal routing.
Type SerializationFormatter
Gets the serialization formatter type used by CSLA .NET for all explicit object serialization (such a...
TransactionScopeAsyncFlowOption DefaultTransactionAsyncFlowOption
Gets or sets the default transaction async flow option used to create new TransactionScope objects.
Use this type to configure the settings for the CSLA .NET data portal using dot net core
Client side data portal used for making asynchronous data portal calls in .NET.
Definition: DataPortalT.cs:24
TransactionIsolationLevel
Specifies an isolation level for transactions controlled by TransactionalAttribute