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
與慣例執行相關聯的其他資訊。