Interface IBlobStorageDataStoreConnectionStringFactory
A factory for getting connection strings and container names for IDataStore<TData> access.
This factory supports reading and writing from separate storage accounts. Specifically you can have as many different storage accounts as you want to configure when writing.
This allows for manual mirroring of data while reading from the fastest/closest location possible.
Assembly: Cqrs.Azure.BlobStorage.dll
Syntax
public interface IBlobStorageDataStoreConnectionStringFactory : IBlobStorageStoreConnectionStringFactory, IStorageStoreConnectionStringFactory
Methods
GetContainerName<TData>()
Gets the name of the container.
Declaration
string GetContainerName<TData>()where TData : Entity
Returns
Type |
Description |
System.String |
|
Type Parameters
GetEntityName<TData>()
Gets the name of the entity that is safe for container use.
Declaration
string GetEntityName<TData>()where TData : Entity
Returns
Type |
Description |
System.String |
|
Type Parameters
IsContainerPublic<TData>()
Get if the container is public or not.
Declaration
bool IsContainerPublic<TData>()where TData : Entity
Returns
Type |
Description |
System.Boolean |
|
Type Parameters