Note: This API is now obsolete.
Upgrade old version of LiteDB into new LiteDB file structure. Returns true if database was completed converted
If database already in current version just return false
Namespace: Internal.LiteDB.EngineAssembly: NeoAxis.Core (in NeoAxis.Core.dll) Version: 2026.1.1.0 (2026.1.1.0)
Syntax[ObsoleteAttribute("Upgrade your LiteDB v4 datafiles using Upgrade=true in EngineSettings. You can use upgrade=true in connection string.")]
public static bool Upgrade(
string filename,
string password = null,
Collation collation = null
)Parameters
- filename String
-
- password String (Optional)
-
- collation Collation (Optional)
-
Return Value
Boolean
See Also