Share via


EntityConnectionStringBuilder Class

Definition

Class representing a connection string builder for the entity client provider

[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1710:IdentifiersShouldHaveCorrectSuffix", Justification="EntityConnectionStringBuilder follows the naming convention of DbConnectionStringBuilder.")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1035:ICollectionImplementationsHaveStronglyTypedMembers", Justification="There is no applicable strongly-typed implementation of CopyTo.")]
public sealed class EntityConnectionStringBuilder : System.Data.Common.DbConnectionStringBuilder
type EntityConnectionStringBuilder = class
    inherit DbConnectionStringBuilder
Public NotInheritable Class EntityConnectionStringBuilder
Inherits DbConnectionStringBuilder
Inheritance
EntityConnectionStringBuilder
Attributes

Constructors

EntityConnectionStringBuilder()

Initializes a new instance of the EntityConnectionStringBuilder class.

EntityConnectionStringBuilder(String)

Initializes a new instance of the EntityConnectionStringBuilder class using the supplied connection string.

Properties

IsFixedSize

Gets a value that indicates whether the EntityConnectionStringBuilder has a fixed size.

Item[String]

Gets or sets the value associated with the specified key. In C#, this property is the indexer.

Keys

Gets an ICollection that contains the keys in the EntityConnectionStringBuilder .

Metadata

Gets or sets the metadata locations in the connection string.

Name

Gets or sets the name of a section as defined in a configuration file.

Provider

Gets or sets the name of the underlying .NET Framework data provider in the connection string.

ProviderConnectionString

Gets or sets the inner, provider-specific connection string.

Methods

Clear()

Clears the contents of the EntityConnectionStringBuilder instance.

ContainsKey(String)

Determines whether the EntityConnectionStringBuilder contains a specific key.

Remove(String)

Removes the entry with the specified key from the EntityConnectionStringBuilder instance.

TryGetValue(String, Object)

Retrieves a value corresponding to the supplied key from this EntityConnectionStringBuilder .

Applies to