Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

SqlBulkCopy: value boxed always? #3706

Unanswered
weifenluo asked this question in Q&A
Discussion options

From source code:

object value = GetValueFromSourceRow(col, out isSqlType, out isDataFeed, out isNull); //this will return Task/null in future: as rTask

Does that mean every value read and write by SqlBulkCopy will always be boxed? I will need to implement a custom IDataReader for SqlBulkCopy, will SqlBulkCopy respect the strongly typed GetInt16/GetInt32/... implementation?

You must be logged in to vote

Replies: 0 comments

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant

AltStyle によって変換されたページ (->オリジナル) /