zzz projects SqlBulkCopy Tutorial
Documentation Troubleshooting
Knowledge Base
  • Documentation
  • Troubleshooting
  • Knowledge Base

SqlBulkCopy Tutorial - Knowledge Base (KB)

6 results in tag: fastmember

SqlBulkCopy Cannot insert the value NULL into column

I am trying to Bulkinsert a certain list of custom objects into my database, using the fastmember (...Fastmember NuGet...) extension and sqlbulkcopy. However it gives me the following error:...An unhandled exception of type 'System.Data.SqlClient.SqlExcep...
.net c# fastmember sql sqlbulkcopy
asked by usselite

Fastmember exception: Specified argument was out of the range of valid values. Parameter name: name

I've been encountering this error ...Specified argument was out of the range of valid values. Parameter name: name...When im almost just copying the example here ...https://code.google.com/p/fast-member/...The error happens on the bcp.WriteToServer(reade...
fastmember outofrangeexception sqlbulkcopy
asked by user1465073

FastMember and nullable properties

i'm having an issue using fastmember, where by i have a public nullable property (datetime) for my class, but when i try and insert it into the db the column value is an empty string an not a null, which causes an exception to be thrown, any ideas on how ...
c# fastmember reflection sqlbulkcopy
asked by DanSolo

Trying to map a .NET string[] to a FastMember object but it's erroring/not mapping

I'm trying to insert a list of file names into a simple Sql Server table....I'm trying to leverage SqlBulkCopy and ...@markgravell's FastMember... library, as suggested by other SO answers....public async Task AddFileNamesAsync(string[] fileNames) { f...
.net c# fastmember sqlbulkcopy sql-server
asked by Pure.Krome

SqlBulkCopy with ObjectReader - Failed to convert parameter value from a String to a Int32

I am using SqlBulkCopy (.NET) with ObjectReader (FastMember) to perform an import from XML based file. I have added the proper column mappings. ...At certain instances I get an error: Failed to convert parameter value from a String to a Int32. ...I'd like...
fastmember sqlbulkcopy
asked by Mr767267

How do I Use FastMember to create a reader of an object with child object

We need to ...SQLBulkCopy... a collection that we have. And since we need an IDataReader to use SQLBulkCopy, I tried to use FastMember for that. As I understand, we can use ...FastMember... to create an ...IDataReader... from an IEnumerable....So my code ...
c# fastmember idatareader sqlbulkcopy
asked by Muds

Page 1 of 1
  • 1

Prime Library

Performance

  • Entity Framework Extensions
  • Entity Framework Classic
  • Bulk Operations
  • Dapper Plus

Expression Evaluator

  • C# Eval Expression
  • SQL Eval Function
More Projects...
Get monthly updates by subscribing to our newsletter!
SUBSCRIBE!