public LiveDbProvider(string path) { if (Directory.Exists(path) == false) { var model = new DocumentNodeModel(); var settings = new EngineSettings(path); LiveDomain.Core.Engine.Create(model, settings); } liveDbEngine = LiveDomain.Core.Engine.Load <DocumentNodeModel>(path); nodeTreeIsUpdated = true; }
public LiveDbProvider(string path) { if (Directory.Exists(path) == false) { var model = new DocumentNodeModel(); var settings = new EngineSettings(path); LiveDomain.Core.Engine.Create(model, settings); } liveDbEngine = LiveDomain.Core.Engine.Load<DocumentNodeModel>(path); nodeTreeIsUpdated = true; }