语言

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
特性
实现

注解

有关详细信息和示例,请参阅 模型构建约定 和 数据库函数 。

构造函数

名称 说明
TableValuedDbFunctionConvention(ProviderConventionSetBuilderDependencies, RelationalConventionSetBuilderDependencies)

创建 TableValuedDbFunctionConvention的新实例。

属性

名称 说明
Dependencies

此服务的依赖项。

RelationalDependencies

此服务的关系提供程序特定的依赖项。

方法

名称 说明
ProcessModelFinalizing(IConventionModelBuilder, IConventionContext<IConventionModelBuilder>)

在完成模型时调用。

适用于