简体   繁体   中英

How to know with which LiteDB version DB file has been created?

I am using LiteDB to create db file. but sometime I use LiteDB version 1 and sometime v4. Using any version I am creating same file. So how can I detect that which version of LiteDB was used to create the db file in c# code? Note: I don't want user version of DB file. Thanks in advance.

It seems like you have multiple versions of LiteDB as reference to your project no? How are you instantiating the LiteDB object?

Check that you don't have multiple versions as reference of your project, show us your project references and the places where you are using LiteDB, that might help a bit more.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM