Using Sqlite Data Provider from EntLibContrib and DAAB EntLib 5.0
is it possible to use SQLite Data Provider from EntLibContrib 4.1 in with EntLib 5.0? I'm not familiar with EntLib 4.x, I just started using EntLib 5.0 and don't know whethe开发者_开发技巧r differences between them are severe or not to use data provider from EntLib 4.1 for EntLib 5.0.
Not unless you were to recompile EntLibContrib from source, updating the dependencies to Enterprise Library. It would probably be less work to just use use Enterprise Library 4.1, unless there is a specific feature of 5.0 you absolutely can't live without.
Update: Recompiling from source seems like a no go as the interface IDatabaseAssembler and DatabaseAssembler attribute was removed in Enterprise Library 5.0 when they moved to a dependency injection pattern.
yes, you now can! http://www.codeproject.com/Tips/657233/Enterprise-Library-6-Sqlite-Logging-and-Exceptions do work with enterprise library 5 & 6
精彩评论