Class ConnectionStringParser
A connection string parser.
Inheritance
System.Object
ConnectionStringParser
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Kephas.Data.Store
Assembly: Kephas.Data.dll
Syntax
public static class ConnectionStringParser
Methods
| Improve this Doc View SourceAsDictionary(String)
Parses the provided connection string as System.Collections.Generic.IDictionary<TKey, TValue>.
Declaration
public static IDictionary<string, string> AsDictionary(string connectionString)
Parameters
Type | Name | Description |
---|---|---|
System.String | connectionString | The connection string. |
Returns
Type | Description |
---|---|
System.Collections.Generic.IDictionary<System.String, System.String> | An dictionary of configuration parameters. |
AsExpando(String)
Parses the provided connection string as IExpando.
Declaration
public static IExpando AsExpando(string connectionString)
Parameters
Type | Name | Description |
---|---|---|
System.String | connectionString | The connection string. |
Returns
Type | Description |
---|---|
IExpando | An IExpando containing the configuration parameters. |