Boris Djurdjevic
Boris Djurdjevic
Hi, can you also make and add a Test for this.
Can you write an example for this with reproducible Test. Also do you have any ideas what would be alternative, some fix or how to change it.
Just to add for cmnt list [EFCore.BulkExtensions](https://github.com/borisdj/EFCore.BulkExtensions) now has **SourceTable** feature with config `CustomSourceTableName` and also supports optionally dict `CustomSourceDestinationMappingColumns`. Usage example: `context.BulkInsert(new List(), b => b.CustomSourceTableName = "ItemBase");`
Are you using SqlServer?, since there as far as I know Temp table does not have nor created any Key or Indexes. If that's what you are reffering to.
So you would like for list to be cleared if none are matched?
A lot of info in text, I'll have to take some time to go over this in details.
@philipag if you already have . Net10 installed try to debug it with code change from `columnsDict.Add(discriminatorColumn, entityType.GetDiscriminatorValue());` to `var discriminator = entityType.GetDiscriminatorProperty()?.PropertyInfo?.GetValue(entity); columnsDict.Add(discriminatorColumn, discriminatorValue );`
v10 is out next week, will check it then, first thing.
@Webreaper and @bugrakosen relax, we all can stay polite both with the issues nad comments. New nuget v10 will be published in a few days, just have to figure out...
Thx, not yet, will add here a note once commit is made.