EntityFramework-Effort icon indicating copy to clipboard operation
EntityFramework-Effort copied to clipboard

DbManager.SetIdentityFields(false) doesn't work for Guids

Open YauGoh opened this issue 7 years ago • 4 comments

Can't use DBManager.SetIdentityFields(false) to seed database tables with specific GUID primary keys. The rows appear inserted with database generated IDs.

I've replicated the issue in a test harness found in this repo:

https://github.com/YauGoh/EffortGuid.git

YauGoh avatar Oct 30 '18 22:10 YauGoh

Hello @YauGoh ,

Thank a lot for your project, I will try to make my developer look at it tomorrow.

Best Regards,

Jonathan


Performance Libraries context.BulkInsert(list, options => options.BatchSize = 1000); Entity Framework ExtensionsEntity Framework ClassicBulk OperationsDapper PlusLinqToSql Plus

Runtime Evaluation Eval.Execute("x + y", new {x = 1, y = 2}); // return 3 C# Eval FunctionSQL Eval Function

JonathanMagnan avatar Nov 01 '18 20:11 JonathanMagnan

Hi, Are there any updates on this issue?

YauGoh avatar Dec 11 '18 03:12 YauGoh

Hello @YauGoh ,

Thank for the reminder, it looks the pull has been done more than one month ago: https://github.com/zzzprojects/EntityFramework-Effort/pull/145 but I forgot to review and merge it.

I will talk with my developer this week to try to complete it.

Best Regards,

Jonathan

JonathanMagnan avatar Dec 11 '18 12:12 JonathanMagnan

Hello @YauGoh ,

Sorry again for the delay,

The pull has been merged.

Could you try the latest version v2.0.4 and let me know if everything works as expected?

Best Regards,

Jonathan

JonathanMagnan avatar Dec 18 '18 20:12 JonathanMagnan