Język

RelationalMaxIdentifierLengthConvention Klasa

Definicja

Konwencja, która konfiguruje maksymalną długość identyfikatora obiektu obsługiwaną przez bazę danych.

[System.Runtime.CompilerServices.Nullable(0)]
public class RelationalMaxIdentifierLengthConvention : Microsoft.EntityFrameworkCore.Metadata.Conventions.IModelInitializedConvention
public class RelationalMaxIdentifierLengthConvention : Microsoft.EntityFrameworkCore.Metadata.Conventions.IModelInitializedConvention
[<System.Runtime.CompilerServices.Nullable(0)>]
type RelationalMaxIdentifierLengthConvention = class
    interface IModelInitializedConvention
    interface IConvention
type RelationalMaxIdentifierLengthConvention = class
    interface IModelInitializedConvention
    interface IConvention
Public Class RelationalMaxIdentifierLengthConvention
Implements IModelInitializedConvention
Dziedziczenie
RelationalMaxIdentifierLengthConvention
Atrybuty
Implementuje

Uwagi

Aby uzyskać więcej informacji i przykładów, zobacz Konwencje tworzenia modeli .

Konstruktory

Nazwisko Opis
RelationalMaxIdentifierLengthConvention(Int32, ProviderConventionSetBuilderDependencies, RelationalConventionSetBuilderDependencies)

Tworzy nowe wystąpienie klasy RelationalMaxIdentifierLengthConvention.

Właściwości

Nazwisko Opis
Dependencies

Zależności dla tej usługi.

MaxIdentifierLength

Maksymalna długość identyfikatora obiektu obsługiwana przez bazę danych.

RelationalDependencies

Zależności specyficzne dla dostawcy relacyjnego dla tej usługi.

Metody

Nazwisko Opis
ProcessModelInitialized(IConventionModelBuilder, IConventionContext<IConventionModelBuilder>)

Wywoływane po zainicjowaniu modelu.

Dotyczy