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

Updated Wiki: DataProvider

$
0
0
Below is a class diagram of how the data provider is constructed using the provider model in BugNET. Each custom 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.

[image:DataProvider.png]

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:

Viewing all articles
Browse latest Browse all 2179

Trending Articles



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