Hi Guys,
I created new entity for “UnitOfMeasureConversion” table using the wizard. Also created generate methods on my entity class. My newly created entity works fine if I only have 1 line/record on my csv file for import but getting error below while trying to import multiple lines. Anyone has an idea? am I missing something?
Error log:
Error occurred while doing bulk copy from temp table to entity table-Cannot insert duplicate key row in object ‘dbo.DMFUNITOFMEASURECONVERSIONENTITY’ with unique index ‘I_104963CONVERSIONIDX’. The duplicate key value is (5637144576, UnitOfMeasureConversion-5, UnitOfMeasureConversion).
The statement has been terminated.
‘0’ ‘UnitOfMeasureConversion’ record(s) inserted in staging
Regards,
AML