示例#1
0
 protected virtual void Dispose(bool disposing)
 {
     if (DynamoDb != null)
     {
         DynamoDb.Dispose();
         DynamoDb = null;
     }
 }
示例#2
0
        public void Close()
        {
            if (DynamoDb == null)
            {
                return;
            }

            DynamoDb.Dispose();
            DynamoDb = null;
        }