Class ConnectionStringFactory
The connection string factory.
Inheritance
System.Object
ConnectionStringFactory
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: Bayat.SaveSystem.Storage
Assembly: Bayat.SaveSystem.Runtime.dll
Syntax
public static class ConnectionStringFactory
Methods
| Improve this Doc View SourceCreateStorage(String)
Creates a new instance of IStorage implementation using the connection string.
Declaration
public static IStorage CreateStorage(string connectionString)
Parameters
Type | Name | Description |
---|---|---|
System. |
connectionString | The connection string |
Returns
| Improve this Doc View SourceGetConnectionFactories()
Retrieves all connection factories using reflection.
Declaration
public static List<IConnectionFactory> GetConnectionFactories()
Returns
Type | Description |
---|---|
System. |
Register(IConnectionFactory)
Registers a new connection string factory.
Declaration
public static void Register(IConnectionFactory factory)
Parameters
Type | Name | Description |
---|---|---|
IConnection |
factory | The connection string factory |