Custom .NET Data Providers
问题 Is is possible to use a custom .NET data provider without installing it in the GAC? Can I reference a custom DLL and register it inside my configuration file? 回答1: Yes , you can register an implementation of the DbProviderFactory class by adding the following section in your configuration file: <system.data> <DbProviderFactories> <add name="My Custom Data Provider" invariant="MyCustomDataProvider" description="Data Provider for My Custom Store" type="MyNamespace.MyCustomProviderFactory,