語言

TableValuedDbFunctionConvention 類別

定義

一個用來設定可查詢函式所映射到的實體類型慣例。

[System.Runtime.CompilerServices.Nullable(0)]
public class TableValuedDbFunctionConvention : Microsoft.EntityFrameworkCore.Metadata.Conventions.IModelFinalizingConvention
public class TableValuedDbFunctionConvention : Microsoft.EntityFrameworkCore.Metadata.Conventions.IModelFinalizingConvention
[<System.Runtime.CompilerServices.Nullable(0)>]
type TableValuedDbFunctionConvention = class
    interface IModelFinalizingConvention
    interface IConvention
type TableValuedDbFunctionConvention = class
    interface IModelFinalizingConvention
    interface IConvention
Public Class TableValuedDbFunctionConvention
Implements IModelFinalizingConvention
繼承
TableValuedDbFunctionConvention
屬性
實作

備註

更多資訊與範例請參閱 模型建構慣例 與 資料庫函數 。

建構函式

名稱 Description
TableValuedDbFunctionConvention(ProviderConventionSetBuilderDependencies, RelationalConventionSetBuilderDependencies)

建立一個新的 實例。TableValuedDbFunctionConvention

屬性

名稱 Description
Dependencies

此服務的依賴關係。

RelationalDependencies

此服務的關聯提供者專屬相依關係。

方法

名稱 Description
ProcessModelFinalizing(IConventionModelBuilder, IConventionContext<IConventionModelBuilder>)

當模型正在定案時會被召喚。

適用於