Language

SqlServerDbFunctionConvention クラス

定義

IsBuiltIn フラグが false に設定されているデータベース関数に対してSchemaが確実に設定されるようにする規則。

[System.Runtime.CompilerServices.Nullable(0)]
public class SqlServerDbFunctionConvention : Microsoft.EntityFrameworkCore.Metadata.Conventions.IModelFinalizingConvention
public class SqlServerDbFunctionConvention : Microsoft.EntityFrameworkCore.Metadata.Conventions.IModelFinalizingConvention
[<System.Runtime.CompilerServices.Nullable(0)>]
type SqlServerDbFunctionConvention = class
    interface IModelFinalizingConvention
    interface IConvention
type SqlServerDbFunctionConvention = class
    interface IModelFinalizingConvention
    interface IConvention
Public Class SqlServerDbFunctionConvention
Implements IModelFinalizingConvention
継承
SqlServerDbFunctionConvention
属性
実装

注釈

詳細と例については、「モデル構築規則」および「EF Core を使用したSQL ServerおよびAzure SQLデータベースへのアクセス」を参照してください。

コンストラクター

Name 説明
SqlServerDbFunctionConvention(ProviderConventionSetBuilderDependencies, RelationalConventionSetBuilderDependencies)

SqlServerDbFunctionConventionの新しいインスタンスを作成します。

プロパティ

Name 説明
Dependencies

このサービスの依存関係。

RelationalDependencies

このサービスのリレーショナル プロバイダー固有の依存関係。

メソッド

Name 説明
ProcessModelFinalizing(IConventionModelBuilder, IConventionContext<IConventionModelBuilder>)

モデルの最終処理時に呼び出されます。

適用対象