Singleton for Embeded RavenDb
问题 Why when I use this singleton the load retreive always null? public class DataLayer { private EmbeddableDocumentStore d; private static object lockerSingleton = new object(); private static DataLayer _current; public static DataLayer RavenDB { get { lock (lockerSingleton) { if (_current == null) _current = new DataLayer(); } return _current; } } public DataLayer() { d = new EmbeddableDocumentStore() { DataDirectory = "csv" }; d.Initialize(); } public void store<T>(T obj) { using (var session