SqlServerPropertyExtensions.SetIdentityIncrement Método
Definición
Importante
Parte de la información hace referencia a la versión preliminar del producto, que puede haberse modificado sustancialmente antes de lanzar la versión definitiva. Microsoft no otorga ninguna garantía, explícita o implícita, con respecto a la información proporcionada aquí.
Sobrecargas
SetIdentityIncrement(IMutableProperty, Nullable<Int32>) |
Establece el incremento de identidad. |
SetIdentityIncrement(IMutableRelationalPropertyOverrides, Nullable<Int32>) |
Establece el incremento de identidad de una tabla determinada. |
SetIdentityIncrement(IConventionProperty, Nullable<Int32>, Boolean) |
Establece el incremento de identidad. |
SetIdentityIncrement(IConventionRelationalPropertyOverrides, Nullable<Int32>, Boolean) |
Establece el incremento de identidad de una tabla determinada. |
SetIdentityIncrement(IMutableProperty, Nullable<Int32>, StoreObjectIdentifier) |
Establece el incremento de identidad de una tabla determinada. |
SetIdentityIncrement(IConventionProperty, Nullable<Int32>, StoreObjectIdentifier, Boolean) |
Establece el incremento de identidad de una tabla determinada. |
SetIdentityIncrement(IMutableProperty, Nullable<Int32>)
Establece el incremento de identidad.
public static void SetIdentityIncrement (this Microsoft.EntityFrameworkCore.Metadata.IMutableProperty property, int? increment);
static member SetIdentityIncrement : Microsoft.EntityFrameworkCore.Metadata.IMutableProperty * Nullable<int> -> unit
<Extension()>
Public Sub SetIdentityIncrement (property As IMutableProperty, increment As Nullable(Of Integer))
Parámetros
- property
- IMutableProperty
Propiedad.
Se aplica a
SetIdentityIncrement(IMutableRelationalPropertyOverrides, Nullable<Int32>)
Establece el incremento de identidad de una tabla determinada.
public static void SetIdentityIncrement (this Microsoft.EntityFrameworkCore.Metadata.IMutableRelationalPropertyOverrides overrides, int? increment);
static member SetIdentityIncrement : Microsoft.EntityFrameworkCore.Metadata.IMutableRelationalPropertyOverrides * Nullable<int> -> unit
<Extension()>
Public Sub SetIdentityIncrement (overrides As IMutableRelationalPropertyOverrides, increment As Nullable(Of Integer))
Parámetros
- overrides
- IMutableRelationalPropertyOverrides
La propiedad invalida.
Se aplica a
SetIdentityIncrement(IConventionProperty, Nullable<Int32>, Boolean)
Establece el incremento de identidad.
public static void SetIdentityIncrement (this Microsoft.EntityFrameworkCore.Metadata.IConventionProperty property, int? increment, bool fromDataAnnotation = false);
public static int? SetIdentityIncrement (this Microsoft.EntityFrameworkCore.Metadata.IConventionProperty property, int? increment, bool fromDataAnnotation = false);
static member SetIdentityIncrement : Microsoft.EntityFrameworkCore.Metadata.IConventionProperty * Nullable<int> * bool -> unit
static member SetIdentityIncrement : Microsoft.EntityFrameworkCore.Metadata.IConventionProperty * Nullable<int> * bool -> Nullable<int>
<Extension()>
Public Sub SetIdentityIncrement (property As IConventionProperty, increment As Nullable(Of Integer), Optional fromDataAnnotation As Boolean = false)
<Extension()>
Public Function SetIdentityIncrement (property As IConventionProperty, increment As Nullable(Of Integer), Optional fromDataAnnotation As Boolean = false) As Nullable(Of Integer)
Parámetros
- property
- IConventionProperty
Propiedad.
- fromDataAnnotation
- Boolean
Indica si la configuración se especificó mediante una anotación de datos.
Devoluciones
El valor configurado.
Se aplica a
SetIdentityIncrement(IConventionRelationalPropertyOverrides, Nullable<Int32>, Boolean)
Establece el incremento de identidad de una tabla determinada.
public static int? SetIdentityIncrement (this Microsoft.EntityFrameworkCore.Metadata.IConventionRelationalPropertyOverrides overrides, int? increment, bool fromDataAnnotation = false);
static member SetIdentityIncrement : Microsoft.EntityFrameworkCore.Metadata.IConventionRelationalPropertyOverrides * Nullable<int> * bool -> Nullable<int>
<Extension()>
Public Function SetIdentityIncrement (overrides As IConventionRelationalPropertyOverrides, increment As Nullable(Of Integer), Optional fromDataAnnotation As Boolean = false) As Nullable(Of Integer)
Parámetros
- overrides
- IConventionRelationalPropertyOverrides
La propiedad invalida.
- fromDataAnnotation
- Boolean
Indica si la configuración se especificó mediante una anotación de datos.
Devoluciones
El valor configurado.
Se aplica a
SetIdentityIncrement(IMutableProperty, Nullable<Int32>, StoreObjectIdentifier)
Establece el incremento de identidad de una tabla determinada.
public static void SetIdentityIncrement (this Microsoft.EntityFrameworkCore.Metadata.IMutableProperty property, int? increment, in Microsoft.EntityFrameworkCore.Metadata.StoreObjectIdentifier storeObject);
static member SetIdentityIncrement : Microsoft.EntityFrameworkCore.Metadata.IMutableProperty * Nullable<int> * StoreObjectIdentifier -> unit
<Extension()>
Public Sub SetIdentityIncrement (property As IMutableProperty, increment As Nullable(Of Integer), ByRef storeObject As StoreObjectIdentifier)
Parámetros
- property
- IMutableProperty
Propiedad.
- storeObject
- StoreObjectIdentifier
Identificador de la tabla que contiene la columna.
Se aplica a
SetIdentityIncrement(IConventionProperty, Nullable<Int32>, StoreObjectIdentifier, Boolean)
Establece el incremento de identidad de una tabla determinada.
public static int? SetIdentityIncrement (this Microsoft.EntityFrameworkCore.Metadata.IConventionProperty property, int? increment, in Microsoft.EntityFrameworkCore.Metadata.StoreObjectIdentifier storeObject, bool fromDataAnnotation = false);
static member SetIdentityIncrement : Microsoft.EntityFrameworkCore.Metadata.IConventionProperty * Nullable<int> * StoreObjectIdentifier * bool -> Nullable<int>
<Extension()>
Public Function SetIdentityIncrement (property As IConventionProperty, increment As Nullable(Of Integer), ByRef storeObject As StoreObjectIdentifier, Optional fromDataAnnotation As Boolean = false) As Nullable(Of Integer)
Parámetros
- property
- IConventionProperty
Propiedad.
- storeObject
- StoreObjectIdentifier
Identificador de la tabla que contiene la columna.
- fromDataAnnotation
- Boolean
Indica si la configuración se especificó mediante una anotación de datos.
Devoluciones
El valor configurado.