Compartir a través de


RelationalModelExtensions.SetMaxIdentifierLength Método

Definición

Sobrecargas

SetMaxIdentifierLength(IConventionModel, Nullable<Int32>, Boolean)

Establece la longitud máxima permitida para los identificadores de almacén.

SetMaxIdentifierLength(IMutableModel, Nullable<Int32>)

Establece la longitud máxima permitida para los identificadores de almacén.

SetMaxIdentifierLength(IConventionModel, Nullable<Int32>, Boolean)

Source:
RelationalModelExtensions.cs
Source:
RelationalModelExtensions.cs
Source:
RelationalModelExtensions.cs
Source:
RelationalModelExtensions.cs
Source:
RelationalModelExtensions.cs
Source:
RelationalModelExtensions.cs
Source:
RelationalModelExtensions.cs

Establece la longitud máxima permitida para los identificadores de almacén.

public static void SetMaxIdentifierLength (this Microsoft.EntityFrameworkCore.Metadata.IConventionModel model, int? length, bool fromDataAnnotation = false);
public static int? SetMaxIdentifierLength (this Microsoft.EntityFrameworkCore.Metadata.IConventionModel model, int? length, bool fromDataAnnotation = false);
static member SetMaxIdentifierLength : Microsoft.EntityFrameworkCore.Metadata.IConventionModel * Nullable<int> * bool -> unit
static member SetMaxIdentifierLength : Microsoft.EntityFrameworkCore.Metadata.IConventionModel * Nullable<int> * bool -> Nullable<int>
<Extension()>
Public Sub SetMaxIdentifierLength (model As IConventionModel, length As Nullable(Of Integer), Optional fromDataAnnotation As Boolean = false)
<Extension()>
Public Function SetMaxIdentifierLength (model As IConventionModel, length As Nullable(Of Integer), Optional fromDataAnnotation As Boolean = false) As Nullable(Of Integer)

Parámetros

model
IConventionModel

Modelo para el que se va a establecer el esquema predeterminado.

length
Nullable<Int32>

Valor que se va a establecer.

fromDataAnnotation
Boolean

Indica si la configuración se especificó mediante una anotación de datos.

Devoluciones

El valor configurado.

Se aplica a

SetMaxIdentifierLength(IMutableModel, Nullable<Int32>)

Source:
RelationalModelExtensions.cs
Source:
RelationalModelExtensions.cs
Source:
RelationalModelExtensions.cs
Source:
RelationalModelExtensions.cs
Source:
RelationalModelExtensions.cs
Source:
RelationalModelExtensions.cs
Source:
RelationalModelExtensions.cs

Establece la longitud máxima permitida para los identificadores de almacén.

public static void SetMaxIdentifierLength (this Microsoft.EntityFrameworkCore.Metadata.IMutableModel model, int? length);
static member SetMaxIdentifierLength : Microsoft.EntityFrameworkCore.Metadata.IMutableModel * Nullable<int> -> unit
<Extension()>
Public Sub SetMaxIdentifierLength (model As IMutableModel, length As Nullable(Of Integer))

Parámetros

model
IMutableModel

Modelo para el que se va a establecer el esquema predeterminado.

length
Nullable<Int32>

Valor que se va a establecer.

Se aplica a