The data-mapper-dotnet allows developers to map data from one schema to another by defining a mapping file that can be managed by non-technical staff.
The data mapper can be used as part of an interface between two IT systems.
The developer can focus on implementing the interface while the project manager can define the mapping in a json file. This way the interface can easily be adjusted if by a project manager without the need of a developer.
There are two parts to the library to use it. One is the technical implementation for the developer and one is the mapping for the non-technical staff.
- Install the package via NuGet
- If you're using dependency injection you can use the
AddDataMapper
extension method.
using Buhlergroup.DataMapper;
...
var host = new HostBuilder()
.ConfigureServices(s =>
{
...
s.AddDataMapper();
})
.Build();
- Now an instance of
IMapper
can be injected into any class.
Check the Development Docs to get an overview of how the library can be used and how it's structured.
Check the Mapping Docs to see how the mapping file works and what it can do for you.
Visit the contribution page to see how you can contribute.