RelationalDbFunctionAttributeConvention.ProcessDbFunctionAdded 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
在将 添加到模型时 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
与约定执行关联的其他信息。