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.

<DataProvider defaultProvider="SqlDataProvider">
        <providers>
            <add name="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.


Last edited Mar 29, 2014 at 6:53 PM by dubeaud, version 4