30% OFF - 9th Anniversary discount on new purchases until December 15 with code: ZZZANNIVERSARY9
Dapper Plus Mapper Factory
Description
Sets the mapper factory to use to create a new Mapper.
Existing Mapper instance is not affected by the change from mapper factory.
Mapper Factory Examples
// Use default batch size (Mapper created before MapperFactory configuration) DapperPlusManager.Entity<Order>(); DapperPlusManager.MapperFactory = mapper => mapper.BatchSize(500); // Use batch size = 500; (Mapper created after MapperFactory configuration) DapperPlusManager.Entity<Customer>();
ZZZ Projects