Quantcast
Channel: BugNET Issue Tracker (Moved to GitHub)
Viewing all articles
Browse latest Browse all 2179

Updated Wiki: DataProvider

$
0
0

Data Provider

Each data provider inherits the DataProvder base class and implements the abstract properties and methods. The initialize method is responsible for validating configuration options and setting the provider specific settings, this could be the skin to use or any other feature that the editor supports.

Configuration

Configuring your data provider is as simple as adding a new entry in the web.config and setting the default provider.

<DataProviderdefaultProvider="SqlDataProvider"><providers><addname="SqlDataProvider"type="BugNET.DataAccessLayer.SqlDataProvider, BugNET"connectionStringName="BugNET"providerPath="~\Providers\DataProviders\SqlDataProvider\"/></providers></DataProvider>

More information about the provider module:

Class Diagram

Below is a class diagram of how the SqlDataProvider is constructed in BugNET using the provider model.



Viewing all articles
Browse latest Browse all 2179

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>