Bahasa

SqlServerDbFunctionConvention Kelas

Definisi

Konvensi yang memastikan bahwa Schema diisi untuk fungsi database yang memiliki IsBuiltIn bendera diatur ke false.

[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
Warisan
SqlServerDbFunctionConvention
Atribut
Penerapan

Keterangan

Lihat Konvensi pembuatan model, dan Mengakses database SQL Server dan Azure SQL dengan EF Core untuk informasi dan contoh selengkapnya.

Konstruktor

Nama Deskripsi
SqlServerDbFunctionConvention(ProviderConventionSetBuilderDependencies, RelationalConventionSetBuilderDependencies)

Membuat instans baru SqlServerDbFunctionConvention.

Properti

Nama Deskripsi
Dependencies

Dependensi untuk layanan ini.

RelationalDependencies

Dependensi khusus penyedia relasional untuk layanan ini.

Metode

Nama Deskripsi
ProcessModelFinalizing(IConventionModelBuilder, IConventionContext<IConventionModelBuilder>)

Dipanggil ketika model sedang diselesaikan.

Berlaku untuk