zzzprojects / Bulk-Operations

C# SQL Bulk Operations | High-performance C# bulk insert, update, delete and merge for SQL Server, SQL Azure, SQL Compact, MySQL, and SQLite.
https://bulk-operations.net
142 stars 36 forks source link

EFCore - Owned types supported? #39

Closed StevenRasmussen closed 5 years ago

StevenRasmussen commented 5 years ago

Does this work with EFCore "owned" types? Both with table splitting or when they are in a separate table? For more info see here: https://docs.microsoft.com/en-us/ef/core/modeling/owned-entities

JonathanMagnan commented 5 years ago

Hello @SimplerSoftware ,

I'm very sorry for the late answer, it seems we forget to answer you.

Yes, Entity Framework Extensions (https://entityframework-extensions.net/) work with owned types.

You can also use directly the Bulk Operations library by specifying the right mapping.

Let me know if that answered to your question.

Best Regards,

Jonathan

StevenRasmussen commented 5 years ago

Thanks for confirming that. I'll give it a try to see if it behaves the way we would expect it to. Thanks!