コード例 #1
0
        protected void CreateContext()
        {
            var db = new LiteDatabase(dbInstanceName);

            context = new LiteContext(db);
        }
コード例 #2
0
 /// <summary>
 /// Custom dispose implementation for the dispose pattern.
 /// </summary>
 protected virtual void OnDispose()
 {
     context?.Dispose();
     context = null;
 }