IStoreConnectionFactory Interface
public interface IStoreConnectionFactory
Factory for store connections.
Method Summary
Modifier and Type | Method and Description |
---|---|
IStore |
getConnection(StoreConnectionKind kind, String connectionString)
Constructs a new instance of store connection. |
IUser |
getUserConnection(String connectionString)
Constructs a new instance of user connection. |
Method Details
getConnection
public IStoreConnection getConnection(StoreConnectionKind kind, String connectionString)
Constructs a new instance of store connection.
Parameters:
kind
- Type of store connection.
connectionString
- Connection string for store.
Returns:
An unopened instance of the store connection.
getUserConnection
public IUserStoreConnection getUserConnection(String connectionString)
Constructs a new instance of user connection.
Parameters:
connectionString
- Connection string of user.
Returns:
An unopened instance of the user connection.
Applies to
Collabora con noi su GitHub
L'origine di questo contenuto è disponibile in GitHub, in cui è anche possibile creare ed esaminare i problemi e le richieste pull. Per ulteriori informazioni, vedere la guida per i collaboratori.