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.
ConnectionStringSettings.cs
Go to the documentation of this file.
1//-----------------------------------------------------------------------
2// <copyright file="ConnectionStringSettings.cs" company="Marimer LLC">
3// Copyright (c) Marimer LLC. All rights reserved.
4// Website: https://cslanet.com
5// </copyright>
6// <summary>Information about a connection string</summary>
7//-----------------------------------------------------------------------
8using System;
9
10namespace Csla.Configuration
11{
17 {
22 { }
23
24#if !NETSTANDARD2_0 && !NET5_0 && !NET6_0
28 public ConnectionStringSettings(System.Configuration.ConnectionStringSettings source)
29 {
30 Name = source.Name;
31 ConnectionString = source.ConnectionString;
32 ProviderName = source.ProviderName;
33 }
34#endif
35
39 public string Name { get; set; }
43 public string ConnectionString { get; set; }
47 public string ProviderName { get; set; }
48 }
49}
Information about a connection string
string ConnectionString
Gets or sets the connection string text.
ConnectionStringSettings()
Creates an instance of the type.
string Name
Gets or sets the connection name.
ConnectionStringSettings(System.Configuration.ConnectionStringSettings source)
Creates an instance of the type.
string ProviderName
Gets or sets the provider name.
@ Serializable
Prevents updating or inserting until the transaction is complete.