語言

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
屬性

備註

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

建構函式

名稱 Description
SqlServerAutoLoadConvention(ProviderConventionSetBuilderDependencies)

一個將 SQL Server 向量屬性設定為非自動載入的慣例。

屬性

名稱 Description
Dependencies

此服務的依賴關係。

(繼承來源 AutoLoadConvention)

方法

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

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

(繼承來源 AutoLoadConvention)
ShouldBeAutoLoaded(IConventionProperty)

回傳一個值,指示該屬性是否應該自動載入。

適用於