当前位置:首页 > 数据库 > SQlite

Sqlite EF6注册


       //注册EF string executeFile = @"C:WindowsMicrosoft.NETFrameworkv4.0.30319Ngen.exe"; string[] dllNames = new string[]{ @"System.Data.SQLite.Linq.dll" ,//1 @"System.Data.SQLite.EF6.dll",//2 @"System.Data.SQLite.dll" }; //执行注册 for (int i = 0; i < dllNames.Length; i++) { //构建注册语句 string installCommand = string.Format("{0} {1}{2}{3}", "install", (char)34, dllNames[i],(char)34); Process installProcess = Process.Start(executeFile, installCommand); Console.WriteLine("正在注册{0},请等待...", dllNames[i]); installProcess.WaitForExit(); }


下载地址

Sqlite EF6注册

标签:

本文系统来源:http://www.cnblogs.com/LittleJin/p/4929705.html


【说明】本文章由站长整理发布,文章内容不代表本站观点,如文中有侵权行为,请与本站客服联系(QQ:254677821)!