30% OFF - 9th Anniversary discount on new purchases until December 15 with code: ZZZANNIVERSARY9
Dapper Plus Entity
Description
Adds or updates the mapper associated with the type and mapping key.
Entity
Adds or updates the mapper associated with the type.
Entity Examples
DapperPlusManager.Entity<Order>()
.Table("Orders");
connection.BulkInsert(orders);
Entity with Mapping Key
Adds or updates the mapper associated with the type and mapping key.
Entity with Mapping Key Examples
DapperPlusManager.Entity<Order>("CustomKey") .Table("CustomOrders"); connection.BulkInsert("CustomKey", orders);
We highly recommend using an enum value for the mapping key
BulkSaveChanges Examples
DapperPlusManager.Entity<Order>(MappingKey.CustomKey1.ToString())
.Table("CustomOrders");
connection.BulkInsert(MappingKey.CustomKey1.ToString(), orders);
ZZZ Projects