Skip to content

Instantly share code, notes, and snippets.

@filipececcon
Created July 25, 2017 16:31
Show Gist options
  • Save filipececcon/4fd82a03054e2723f5f8cad19354de6b to your computer and use it in GitHub Desktop.
Save filipececcon/4fd82a03054e2723f5f8cad19354de6b to your computer and use it in GitHub Desktop.
using Dapper.FluentMap;
using Dapper.FluentMap.Dommel;
using Repository.Mappers;
namespace Repository
{
public static class RegisterMappings
{
public static void Register()
{
FluentMapper.Initialize(config =>
{
config.AddMap(new PlayerMap());
config.AddMap(new TeamMap());
config.ForDommel();
});
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment