> An exception of type 'System.InvalidOperationException' occurred in > EntityFramework.dll but was not handled in user code > > Additional information: No Entity Framework provider found for the > ADO.NET provider with invariant name > 'FirebirdSql.Data.FirebirdClient'. Make sure the provider is > registered in the 'entityFramework' section of the application config > file. See http://go.microsoft.com/fwlink/?LinkId=260882 for more > information.
In your DbConfiguration class register the FbProviderServices. Here's a field for that: https://github.com/cincuranet/FirebirdSql.Data.FirebirdClient/blob/master/Provider/src/FirebirdSql.Data.FirebirdClient/FirebirdClient/FbProviderServices.cs#L64 (you can also use the ProviderInvariantName). > it(when compiled). And, since the application that is calling this > .dll is not a .Net application(it's a native Win32 Delphi > application), I am trying to find out how to setup the entity Again. You're not saying how are you loading it. You can load DLL and execute some code from it even with config file. Depends how you're loading the CLR (and if, also). -- Mgr. Jiří Činčura Independent IT Specialist ------------------------------------------------------------------------------ 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