1

Closed

Support for Entity Framework connection strings

description

Hello. NLog does not currently seem to support Entity Framework connection strings: DatabaseTarget.InitializeTarget() throws an exception because it cannot create a DbProviderFactory from the EF providerName="System.Data.EntityClient".
 
Unfortunately, because DatabaseTarget is sealed I can't just customize the connection string behavior as I would with log4net.
 
Please consider adding direct support for the EF provider type (might not be too hard, a regular connection string is indeed embedded in there) or unsealing DatabaseTarget.
 
Thank you!
Closed Oct 7, 2012 at 5:28 PM by Xharze
Moved to https://github.com/NLog/NLog/issues/98

comments