Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more

Class ConnectionStringOptionsExtensions

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice.

Inheritance
System.Object
ConnectionStringOptionsExtensions
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: EPiServer.Data.Internal
Assembly: EPiServer.Framework.AspNet.dll
Version: 11.20.7
Syntax
public static class ConnectionStringOptionsExtensions

Methods

FromConnectionStringSettings(ConnectionStringSettings)

Declaration
public static ConnectionStringOptions FromConnectionStringSettings(this ConnectionStringSettings setting)
Parameters
Type Name Description
System.Configuration.ConnectionStringSettings setting
Returns
Type Description
ConnectionStringOptions

ToConnectionStringSettings(ConnectionStringOptions)

Declaration
public static ConnectionStringSettings ToConnectionStringSettings(this ConnectionStringOptions option)
Parameters
Type Name Description
ConnectionStringOptions option
Returns
Type Description
System.Configuration.ConnectionStringSettings

ToConnectionStringsSection(IEnumerable<ConnectionStringOptions>)

Declaration
public static ConnectionStringsSection ToConnectionStringsSection(this IEnumerable<ConnectionStringOptions> options)
Parameters
Type Name Description
System.Collections.Generic.IEnumerable<ConnectionStringOptions> options
Returns
Type Description
System.Configuration.ConnectionStringsSection