Delen via


SqlServerDbFunctionConvention Class

Definition

A convention that ensures that Schema is populated for database functions which have IsBuiltIn flag set to false.

public class SqlServerDbFunctionConvention : Microsoft.EntityFrameworkCore.Metadata.Conventions.IModelFinalizingConvention
type SqlServerDbFunctionConvention = class
    interface IModelFinalizingConvention
    interface IConvention
Public Class SqlServerDbFunctionConvention
Implements IModelFinalizingConvention
Inheritance
SqlServerDbFunctionConvention
Implements

Remarks

See Model building conventions, and Accessing SQL Server and Azure SQL databases with EF Core for more information and examples.

Constructors

SqlServerDbFunctionConvention(ProviderConventionSetBuilderDependencies, RelationalConventionSetBuilderDependencies)

Creates a new instance of SqlServerDbFunctionConvention.

Properties

Dependencies

Dependencies for this service.

RelationalDependencies

Relational provider-specific dependencies for this service.

Methods

ProcessModelFinalizing(IConventionModelBuilder, IConventionContext<IConventionModelBuilder>)

Called when a model is being finalized.

Applies to