.net.net-coredocumentationdeprecatedobsolete

Alternative to obsolete ForSqlServerUseSequenceHiLo()?


I'm using .NET Core 3 and so when trying to utilize ForSqlServerUseSequenceHiLo(), the method does not exist in the Microsoft.EntityFrameworkCore namespace (or in the SqlServerPropertyBuilderExtensions extention).

The documentation notes that this is now deprecated but it doesn't specify an alternative. What may I utilize to achieve this?


Solution

  • The new method is called simply UseHiLo().