Skip to content

Commit 047bfc8

Browse files
committed
Add note (from #4899).
1 parent 7cb9a8b commit 047bfc8

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

entity-framework/core/providers/sql-server/azure-sql-database.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ uid: core/providers/sql-server/azure-sql-database
77
---
88
# Specifying Azure SQL Database Options
99

10+
> [!NOTE]
11+
> You should [use `UseAzureSql` method](xref:core/providers/sql-server#usage) instead of `UseSqlServer` when connecting to Azure SQL.
12+
1013
Azure SQL Database provides [a variety of pricing options](https://azure.microsoft.com/pricing/details/sql-database/single/) that are usually configured through the Azure Portal. However if you are managing the schema using [EF Core migrations](xref:core/managing-schemas/migrations/index) you can specify the desired options in the model itself.
1114

1215
You can specify the service tier of the database (EDITION) using [HasServiceTier](/dotnet/api/Microsoft.EntityFrameworkCore.SqlServerModelBuilderExtensions.HasServiceTier):

0 commit comments

Comments
 (0)