替代过时的ForSqlServerUseSequenceHiLo()?]

问题描述 投票:1回答:1

我正在使用.NET Core 3,因此,当尝试使用ForSqlServerUseSequenceHiLo()时,该方法在Microsoft.EntityFrameworkCore名称空间(或SqlServerPropertyBuilderExtensions扩展范围中不存在。)>

该文档指出this is now deprecated,但未指定替代项。我可以利用什么来实现这一目标?

我正在使用.NET Core 3,因此,当尝试使用ForSqlServerUseSequenceHiLo()时,该方法在Microsoft.EntityFrameworkCore命名空间(或...

中不存在)
新方法简称为UseHiLo()。
.net .net-core documentation deprecated obsolete
1个回答
© www.soinside.com 2019 - 2024. All rights reserved.