Click or drag to resize

LiteEngineUpgrade Method

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.Engine
Assembly: NeoAxis.Core (in NeoAxis.Core.dll) Version: 2026.1.1.0 (2026.1.1.0)
Syntax
C#
[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