| layout | default | ||
|---|---|---|---|
| sidebar | extensibilities | ||
| title | Folder Structuring | ||
| permalink | /extensibility/folderstructuring | ||
| tags |
|
||
| parent | EXTENSIBILITIES |
This page will guide you on the folder structuring when extending the library with different RDBMS data providers.
Let us say you are to support a new data provider, then below are the recommended structures.
+ RepoDb.<NewDataProvider>
- RepoDb.<NewDataProvider>.sln
+ RepoDb.<NewDataProvider>
- RepoDb.<NewDataProvider>.csproj
+ RepoDb.<NewDataProvider>.Tests
+ RepoDb.<NewDataProvider>.IntegrationTests
- RepoDb.<NewDataProvider>.IntegrationTests.csproj
+ RepoDb.<NewDataProvider>.UnitTests
- RepoDb.<NewDataProvider>.UnitTests.csprojThe namespaces of the classes must be the following.
- All classes that is residing inside the
DbHelpersfolder must have a namespace ofRepoDb.DbHelpers. - All classes that is residing inside the
DbSettingsfolder must have a namespace ofRepoDb.DbSettings. - All classes that is residing inside the
Resolversfolder must have a namespace ofRepoDb.Resolvers. - All classes that is residing inside the
StatementBuildersfolder must have a namespace ofRepoDb.StatementBuilders.
{: .important }
They should not be prefixed with RepoDb..FolderName.