v3.11.17
·
923 commits
to master
since this release
Download the library here
ADDED: PostConfiguration event
ADDED: EntityType property
PostConfiguration
Raised when all configurations have been set (Column Mapping, Destination, BatchSize).
EntityType
Gets the entity type used in the bulk operations.
Example
In this example, we will force to insert a value into a column that's normally computed (value generated from the database) by adding the column to the mapping list.
dbContext.BulkInsert(list, operation => operation.PostConfiguration = bulkOperation =>
{
if (bulkOperation.EntityType == typeof(BankAccount))
{
bulkOperation.ColumnMappings.Add("CreatedDate");
}
});PRO Version unlocked for the current month (April)