Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

DbConnectionStringBuilder Members

Provides a base class for strongly typed connection string builders.

The DbConnectionStringBuilder type exposes the following members.

  NameDescription
Public method DbConnectionStringBuilder Overloaded. Initializes a new instance of the DbConnectionStringBuilder class.
Top

  NameDescription
Public method Add Adds an entry with the specified key and value into the DbConnectionStringBuilder.
Public method Static member AppendKeyValuePair Overloaded. Provides an efficient and safe way to append a key and value to an existing StringBuilder object.
Public method Clear Clears the contents of the DbConnectionStringBuilder instance.
Protected method ClearPropertyDescriptors Clears the collection of PropertyDescriptor objects on the associated DbConnectionStringBuilder.
Public method ContainsKey Determines whether the DbConnectionStringBuilder contains a specific key.
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Public method EquivalentTo Compares the connection information in this DbConnectionStringBuilder object with the connection information in the supplied object.
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Protected method GetProperties Fills a supplied Hashtable with information about all the properties of this DbConnectionStringBuilder.
Public method GetType Gets the type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method Remove Removes the entry with the specified key from the DbConnectionStringBuilder instance.
Public method ShouldSerialize Indicates whether the specified key exists in this DbConnectionStringBuilder instance.
Public method ToString Returns the connection string associated with this DbConnectionStringBuilder. (Overrides Object.ToString().)
Public method TryGetValue Retrieves a value corresponding to the supplied key from this DbConnectionStringBuilder.
Top

  NameDescription
Public Extension Method AsQueryable Converts an IEnumerable to an IQueryable. (Defined by Queryable.)
Public Extension Method Cast Converts the elements of an IEnumerable to the specified type. (Defined by Enumerable.)
Public Extension Method OfType Filters the elements of an IEnumerable based on a specified type. (Defined by Enumerable.)
Top

  NameDescription
Public property BrowsableConnectionString Gets or sets a value that indicates whether the ConnectionString property is visible in Visual Studio designers.
Public property ConnectionString Gets or sets the connection string associated with the DbConnectionStringBuilder.
Public property Count Gets the current number of keys that are contained within the ConnectionString property.
Public property IsFixedSize Gets a value that indicates whether the DbConnectionStringBuilder has a fixed size.
Public property IsReadOnly Gets a value that indicates whether the DbConnectionStringBuilder is read-only.
Public property Item Gets or sets the value associated with the specified key.
Public property Keys Gets an ICollection that contains the keys in the DbConnectionStringBuilder.
Public property Values Gets an ICollection that contains the values in the DbConnectionStringBuilder.
Top

Community Additions

ADD
Show:
© 2015 Microsoft