共用方式為


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

與慣例執行相關聯的其他資訊。

適用於