语言

SqlServerAutoLoadConvention 类

定义

将SQL Server矢量属性配置为未自动加载的约定。

[System.Runtime.CompilerServices.Nullable(0)]
public class SqlServerAutoLoadConvention : Microsoft.EntityFrameworkCore.Metadata.Conventions.AutoLoadConvention
[<System.Runtime.CompilerServices.Nullable(0)>]
type SqlServerAutoLoadConvention = class
    inherit AutoLoadConvention
Public Class SqlServerAutoLoadConvention
Inherits AutoLoadConvention
继承
SqlServerAutoLoadConvention
特性

注解

有关详细信息和示例,请参阅 模型生成约定 。

构造函数

名称 说明
SqlServerAutoLoadConvention(ProviderConventionSetBuilderDependencies)

将SQL Server矢量属性配置为未自动加载的约定。

属性

名称 说明
Dependencies

此服务的依赖项。

(继承自 AutoLoadConvention)

方法

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

在完成模型时调用。

(继承自 AutoLoadConvention)
ShouldBeAutoLoaded(IConventionProperty)

返回一个值,该值指示是否应自动加载给定属性。

适用于