SqlServerModelBuilderExtensions.HasServiceTier(ModelBuilder, String) Method

Definition

Configures the service tier (EDITION) for Azure SQL Database as a string literal.

See Azure SQL Database documentation for supported values.

public static Microsoft.EntityFrameworkCore.ModelBuilder HasServiceTier (this Microsoft.EntityFrameworkCore.ModelBuilder modelBuilder, string serviceTier);
static member HasServiceTier : Microsoft.EntityFrameworkCore.ModelBuilder * string -> Microsoft.EntityFrameworkCore.ModelBuilder

Parameters

modelBuilder
ModelBuilder

The model builder.

serviceTier
String

The service tier of the database as a string literal.

Returns

ModelBuilder

The same builder instance so that multiple calls can be chained.

Applies to