Well, you're not saying anything specific about the exception (at least which provider - EF or ADO.NET?) nor how's the assembly loaded (because you can as well use the config file, depending on how it's loaded).
Let's guess that it's a ADO.NET provider, then you're probably missing the DbProviderFactory piece (https://github.com/cincuranet/EF6_Firebird/blob/master/CodeFirst/App.config#L12). With that, I would go the easiest way and pass directly FbConnection to DbContext's ctor. -- Mgr. Jiří Činčura Independent IT Specialist On Thu, Feb 9, 2017, at 21:32, Daniel Rail wrote: > Hi, > > I'm trying to use the Firebird ADO.Net with Entity Framework 6. > > I'm able to create a code first model from an existing database. > But, when trying to establish a connection, it is telling me that a > provider is not registered. My scenario is that the connection is > done in a DLL, not an EXE, and the main application's EXE that is > calling this .Net assembly DLL is a Win32/Delphi application. I know > that normally the provider information would be in the application's > config file, but in this case the config file is not copied with the > assembly DLL. > > I was reading on how to register the provider in code ( > https://msdn.microsoft.com/en-us/library/jj680699(v=vs.113).aspx ), > but I'm unsure what to put for the SetExecutionStrategy line in the > example. > > Any help would be appreciated. > > -- > Best regards, > Daniel Rail > Senior System Engineer > ACCRA Solutions Inc. (www.accra.ca) > ACCRA Med Software Inc. (www.filopto.com) > > > ------------------------------------------------------------------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, SlashDot.org! http://sdm.link/slashdot > _______________________________________________ > Firebird-net-provider mailing list > Firebird-net-provider@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/firebird-net-provider ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot _______________________________________________ Firebird-net-provider mailing list Firebird-net-provider@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/firebird-net-provider