草庐IT

LoadExtension

全部标签

c# - System.Data.SQLite 无法加载扩展

我试图在建立连接时加载新的json1扩展,但我一直收到此错误:SQLlogicerrorormissingdatabaseThespecifiedprocedurecouldnotbefound.这是我的代码:SQLiteConnectionconnection=(SQLiteConnection)session.Connection;connection.EnableExtensions(true);Assemblyassembly=Assembly.Load("System.Data.SQLite");connection.LoadExtension(assembly.Locati

c# - System.Data.SQLite 无法加载扩展

我试图在建立连接时加载新的json1扩展,但我一直收到此错误:SQLlogicerrorormissingdatabaseThespecifiedprocedurecouldnotbefound.这是我的代码:SQLiteConnectionconnection=(SQLiteConnection)session.Connection;connection.EnableExtensions(true);Assemblyassembly=Assembly.Load("System.Data.SQLite");connection.LoadExtension(assembly.Locati