Dapper.DataAnnotations Usage public IServiceProvider ConfigureServices(IServiceCollection services) { services.AddDapperTypeMaps(Assembly.GetExecutingAssembly()); }