Click or drag to resize

ConnectionStringConfigurator Class

Provides methods to configure a connection string. If no methods are configured, the class will first look for a connection string named sphinx in the app.config file. If no connection string by that name is found, the default connection string of datasource=localhost;port=9306 will be used.
Inheritance Hierarchy
SystemObject
  SphinxConnector.FluentApiConnectionStringConfigurator

Namespace: SphinxConnector.FluentApi
Assembly: SphinxConnector (in SphinxConnector.dll) Version: 6.0.0
Syntax
public sealed class ConnectionStringConfigurator

The ConnectionStringConfigurator type exposes the following members.

Constructors
 NameDescription
Public methodConnectionStringConfiguratorInitializes a new instance of the ConnectionStringConfigurator class
Top
Methods
 NameDescription
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Public methodGet Gets the connection string.
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodIsProvidedBy Sets a method that is responsible for returning a connection string. This method is called each time a connection string is required for an operation.
Public methodCode exampleIsThis Sets the connection string to the given value.
Public methodCode exampleNamed Use the connection string with the given name from the app.config file.
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
See Also