Created
July 25, 2017 16:31
-
-
Save filipececcon/4fd82a03054e2723f5f8cad19354de6b to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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