CKFinder 3 – ASP.NET Connector Documentation
EntityFrameworkKeyValueStoreProvider Class Reference

More...

Inherits IKeyValueStoreProvider.

Public Member Functions

 EntityFrameworkKeyValueStoreProvider (string connectionString)
 
 EntityFrameworkKeyValueStoreProvider (string connectionString, string tablePrefix)
 Constructs a new instance of EntityFrameworkKeyValueStoreProvider. More...
 
 EntityFrameworkKeyValueStoreProvider (string connectionString, string tablePrefix, string filter)
 Constructs a new instance of EntityFrameworkKeyValueStoreProvider. More...
 
Task< IKeyValueStore > OpenStoreAsync (CancellationToken cancellationToken)
 Asynchronously opens a key-value store. More...
 

Detailed Description

Constructor & Destructor Documentation

◆ EntityFrameworkKeyValueStoreProvider() [1/3]

EntityFrameworkKeyValueStoreProvider ( string  connectionString)
inline

Deprecated:
Please use CKSource.CKFinder.Connector.KeyValue.FileSystem.FileSystemKeyValueStoreProvider instead. Constructs a new instance of EntityFrameworkKeyValueStoreProvider.
Parameters
connectionStringA connection string to the database.

◆ EntityFrameworkKeyValueStoreProvider() [2/3]

EntityFrameworkKeyValueStoreProvider ( string  connectionString,
string  tablePrefix 
)
inline

Constructs a new instance of EntityFrameworkKeyValueStoreProvider.

Parameters
connectionStringA connection string to the database.
tablePrefixA prefix added to the table name.

◆ EntityFrameworkKeyValueStoreProvider() [3/3]

EntityFrameworkKeyValueStoreProvider ( string  connectionString,
string  tablePrefix,
string  filter 
)
inline

Constructs a new instance of EntityFrameworkKeyValueStoreProvider.

Parameters
connectionStringA connection string to the database.
tablePrefixA prefix added to the table name.
filterA filter for separating keys with the same name.

Member Function Documentation

◆ OpenStoreAsync()

Task<IKeyValueStore> OpenStoreAsync ( CancellationToken  cancellationToken)
inline

Asynchronously opens a key-value store.

Parameters
cancellationTokenA cancellation token.
Returns
A key-value store.

The documentation for this class was generated from the following file: