Entity Framework???Sqlite????Щ????
???????????? ???????[ 2015/7/3 13:47:15 ] ????????????? SQLite
????????????????Entity Framework for Sqlite?????????????Щ???????????????
???????????????????????????????Sqlite??Sql Server??Sql Server LocalDB??Sql Server Compact??
?????????demo???????????NuGet????????
????EFDemo.MultipleDB.UI??????EFDemo.MutipleDB?????
????1. ????????1
????The Entity Framework provider type 'System.Data.SQLite.EF6.SQLiteProviderServices?? System.Data.SQLite.EF6' registered in the application config file for the ADO.NET provider with invariant name 'System.Data.SQLite.EF6' could not be loaded. Make sure that the assembly-qualified name is used and that the assembly is available to the running application. See http://go.microsoft.com/fwlink/?LinkId=260882 for more information.
????????????????Sqlite????dll???????????????????????????EFDemo.MultipleDB.UI?μ????????????????????Щdll??????????
?????????????Щ??????????????
????2. ????????2
????????????????????????????
????The Entity Framework provider type 'System.Data.Entity.SqlServer.SqlProviderServices?? EntityFramework.SqlServer' registered in the application config file for the ADO.NET provider with invariant name 'System.Data.SqlClient' could not be loaded. Make sure that the assembly-qualified name is used and that the assembly is available to the running application. See http://go.microsoft.com/fwlink/?LinkId=260882 for more information.
????????????????????????Σ????????????????????????????
????/// <summary>
????/// ???provider????????????????
????/// ???????????????????T???
????/// </summary>
????private static void FixProvidersNotAutoLoadProblem()
????{
????var _ = typeof(System.Data.SQLite.EF6.SQLiteProviderFactory);
????var __ = typeof(System.Data.Entity.SqlServer.SqlProviderServices);
????var ___ = typeof(System.Data.Entity.SqlServerCompact.SqlCeProviderServices);
????}
??????
???·???
??????????????????
2023/3/23 14:23:39???д?ò??????????
2023/3/22 16:17:39????????????????????Щ??
2022/6/14 16:14:27??????????????????????????
2021/10/18 15:37:44???????????????
2021/9/17 15:19:29???·???????·
2021/9/14 15:42:25?????????????
2021/5/28 17:25:47??????APP??????????
2021/5/8 17:01:11