Fix missing StorageContainer.Open() in Mapper

master
Harald Wolff 2020-02-24 17:29:48 +01:00
parent e952809d31
commit f79bf14118
1 changed files with 3 additions and 1 deletions

View File

@ -30,7 +30,9 @@ namespace ln.types.odb.ng
public Mapper(string basePath)
:this(new FSStorageContainer(basePath))
{ }
{
StorageContainer.Open();
}
public Mapper(IStorageContainer storageContainer)
{
if (Default?.StorageContainer == null)