Use HiLo to generate keys with Entity Framework Core #efcore

added by DotNetKicks
9/14/2016 2:19:17 PM

2 Kicks, 1132 Views

Entity Framework Core supports different key generation strategies like identity, and . In my previous post , I talked about using SQL Server Sequence with EF Core to Create Primary Key. Database sequences are cached, scalable and address concurrency issues. But there would be a database round-trip for every new the sequence value.