net10.0
namespace Microsoft.EntityFrameworkCore.Infrastructure
{
    public class SqlServerDbContextOptionsBuilder : SqlEngineDbContextOptionsBuilderBase<SqlServerDbContextOptionsBuilder!>
    {
        [Obsolete("Use UseAzureSql instead of UseSqlServer with UseAzureSqlDefaults.")]
        public virtual SqlServerDbContextOptionsBuilder! UseAzureSqlDefaults(bool enable = true);
    }
}
.NET
10.0
Information specific to net10.0
Assembly

Microsoft.EntityFrameworkCore.SqlServer , Version=10.0.2.0, PublicKeyToken=adb9793829ddae60

Referencing

Your project needs a package reference to Microsoft.EntityFrameworkCore.SqlServer.

Package Microsoft.EntityFrameworkCore.SqlServer (10.0.2) net10.0
Obsolete Use UseAzureSql instead of UseSqlServer with UseAzureSqlDefaults.
Platform Restrictions

This API is supported on all platforms.

  • Built-in API
  • Package-provided API