protected void CreateContext() { var db = new LiteDatabase(dbInstanceName); context = new LiteContext(db); }
/// <summary> /// Custom dispose implementation for the dispose pattern. /// </summary> protected virtual void OnDispose() { context?.Dispose(); context = null; }