Skip to content
This repository was archived by the owner on Jul 22, 2020. It is now read-only.

SqlBulkCopier<TModel> should use IDbConnection / IDbTransaction #3

Open
rudiv opened this issue May 12, 2018 · 0 comments
Open

SqlBulkCopier<TModel> should use IDbConnection / IDbTransaction #3

rudiv opened this issue May 12, 2018 · 0 comments

Comments

@rudiv
Copy link
Member

rudiv commented May 12, 2018

To avoid casting in usage from injected services like:
new SqlBulkCopier<TModel>((SqlConnection)db, typeMap.TableName, false, (SqlTransaction)txn)

Perform casting inside SqlBulkCopier

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant