RelationalDbFunctionAttributeConvention.ProcessDbFunctionAdded 方法

定义

在将 添加到模型时 IConventionDbFunction 调用。

protected virtual void ProcessDbFunctionAdded (Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionDbFunctionBuilder dbFunctionBuilder, Microsoft.EntityFrameworkCore.Metadata.Conventions.IConventionContext context);
abstract member ProcessDbFunctionAdded : Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionDbFunctionBuilder * Microsoft.EntityFrameworkCore.Metadata.Conventions.IConventionContext -> unit
override this.ProcessDbFunctionAdded : Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionDbFunctionBuilder * Microsoft.EntityFrameworkCore.Metadata.Conventions.IConventionContext -> unit
Protected Overridable Sub ProcessDbFunctionAdded (dbFunctionBuilder As IConventionDbFunctionBuilder, context As IConventionContext)

参数

dbFunctionBuilder
IConventionDbFunctionBuilder

IConventionDbFunction生成器。

context
IConventionContext

与约定执行关联的其他信息。

适用于