IStoreConnectionFactory Interface

public interface IStoreConnectionFactory

Factory for store connections.

Method Summary

Modifier and Type Method and Description
IStoreConnection getConnection(StoreConnectionKind kind, String connectionString)

Constructs a new instance of store connection.

IUserStoreConnection 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