Share via


SqlServerConventionSetBuilder.Build Method

Definition

Call this method to build a ConventionSet for SQL Server when using the ModelBuilder outside of OnModelCreating(ModelBuilder).

public static Microsoft.EntityFrameworkCore.Metadata.Conventions.ConventionSet Build ();
static member Build : unit -> Microsoft.EntityFrameworkCore.Metadata.Conventions.ConventionSet
Public Shared Function Build () As ConventionSet

Returns

The convention set.

Remarks

Note that it is unusual to use this method. Consider using DbContext in the normal way instead.

Applies to