Skip to content

Insight and Data Providers

Jon Wagner edited this page Oct 2, 2014 · 14 revisions

Insight and Data Providers

The big change in v3.0 is the implementation of a provider model for databases. Providers allow the core Insight.Database library to work without any dependencies on a particular database. Any database-specific code is implemented in a separate provider.

Since .NET ships with a few database clients, the following providers are built-in and work automatically:

Other providers require additional assemblies or dependencies, so they are shipped separately from the core Insight.Database install:

If you don't install a provider for your database, Insight 3.1.4 and later will use a default provider that will give you some basic functionality.

(Possibly) Important Note

Currently (v3.x), Insight assumes that you will only use one provider for a given CommandText or ProcName. If you issue the same command against different providers, Insight will reuse the cached plan from the first provider. This probably won't happen to you, but if it does, open an issue and we'll take the time to make a cache per provider.

Clone this wiki locally