Folder Structuring
This page will guide you on the folder structuring when extending the library with different RDBMS data providers.
Structures
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.csproj
Namespaces
The 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.
They should not be prefixed with RepoDb.
.FolderName.