Connection String Configurator 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.
Definition
Namespace: SphinxConnector.FluentApi
Assembly: SphinxConnector (in SphinxConnector.dll) Version: 6.1.0
Assembly: SphinxConnector (in SphinxConnector.dll) Version: 6.1.0
C#
public sealed class ConnectionStringConfiguratorVB
Public NotInheritable Class ConnectionStringConfigurator- Inheritance
- Object ConnectionStringConfigurator
Constructors
| ConnectionStringConfigurator | Initializes a new instance of the ConnectionStringConfigurator class |
Methods
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) |
| Get | Gets the connection string. |
| GetHashCode | Serves as the default hash function. (Inherited from Object) |
| GetType | Gets the Type of the current instance. (Inherited from Object) |
| IsProvidedBy | 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. |
| IsThis | Sets the connection string to the given value. |
| Named | Use the connection string with the given name from the app.config file. |
| ToString | Returns a string that represents the current object. (Inherited from Object) |
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.