SqlServerPropertyExtensions.SetIdentitySeed 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
SetIdentitySeed(IConventionProperty, Nullable<Int64>, StoreObjectIdentifier, Boolean) |
Establece la inicialización de identidad para una tabla determinada. |
SetIdentitySeed(IMutableProperty, Nullable<Int64>, StoreObjectIdentifier) |
Establece la inicialización de identidad para una tabla determinada. |
SetIdentitySeed(IConventionRelationalPropertyOverrides, Nullable<Int64>, Boolean) |
Establece la inicialización de identidad para una tabla determinada. |
SetIdentitySeed(IConventionProperty, Nullable<Int64>, Boolean) |
Establece la inicialización de identidad. |
SetIdentitySeed(IMutableProperty, Nullable<Int32>) |
Establece la inicialización de identidad. |
SetIdentitySeed(IMutableRelationalPropertyOverrides, Nullable<Int64>) |
Establece la inicialización de identidad para una tabla determinada. |
SetIdentitySeed(IMutableProperty, Nullable<Int64>) |
Establece la inicialización de identidad. |
SetIdentitySeed(IConventionProperty, Nullable<Int32>, Boolean) |
Establece la inicialización de identidad. |
SetIdentitySeed(IConventionProperty, Nullable<Int64>, StoreObjectIdentifier, Boolean)
Establece la inicialización de identidad para una tabla determinada.
public static long? SetIdentitySeed (this Microsoft.EntityFrameworkCore.Metadata.IConventionProperty property, long? seed, in Microsoft.EntityFrameworkCore.Metadata.StoreObjectIdentifier storeObject, bool fromDataAnnotation = false);
static member SetIdentitySeed : Microsoft.EntityFrameworkCore.Metadata.IConventionProperty * Nullable<int64> * StoreObjectIdentifier * bool -> Nullable<int64>
<Extension()>
Public Function SetIdentitySeed (property As IConventionProperty, seed As Nullable(Of Long), ByRef storeObject As StoreObjectIdentifier, Optional fromDataAnnotation As Boolean = false) As Nullable(Of Long)
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.
Se aplica a
SetIdentitySeed(IMutableProperty, Nullable<Int64>, StoreObjectIdentifier)
Establece la inicialización de identidad para una tabla determinada.
public static void SetIdentitySeed (this Microsoft.EntityFrameworkCore.Metadata.IMutableProperty property, long? seed, in Microsoft.EntityFrameworkCore.Metadata.StoreObjectIdentifier storeObject);
static member SetIdentitySeed : Microsoft.EntityFrameworkCore.Metadata.IMutableProperty * Nullable<int64> * StoreObjectIdentifier -> unit
<Extension()>
Public Sub SetIdentitySeed (property As IMutableProperty, seed As Nullable(Of Long), ByRef storeObject As StoreObjectIdentifier)
Parámetros
- property
- IMutableProperty
Propiedad.
- storeObject
- StoreObjectIdentifier
Identificador de la tabla que contiene la columna.
Se aplica a
SetIdentitySeed(IConventionRelationalPropertyOverrides, Nullable<Int64>, Boolean)
Establece la inicialización de identidad para una tabla determinada.
public static long? SetIdentitySeed (this Microsoft.EntityFrameworkCore.Metadata.IConventionRelationalPropertyOverrides overrides, long? seed, bool fromDataAnnotation = false);
static member SetIdentitySeed : Microsoft.EntityFrameworkCore.Metadata.IConventionRelationalPropertyOverrides * Nullable<int64> * bool -> Nullable<int64>
<Extension()>
Public Function SetIdentitySeed (overrides As IConventionRelationalPropertyOverrides, seed As Nullable(Of Long), Optional fromDataAnnotation As Boolean = false) As Nullable(Of Long)
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
SetIdentitySeed(IConventionProperty, Nullable<Int64>, Boolean)
Establece la inicialización de identidad.
public static long? SetIdentitySeed (this Microsoft.EntityFrameworkCore.Metadata.IConventionProperty property, long? seed, bool fromDataAnnotation = false);
static member SetIdentitySeed : Microsoft.EntityFrameworkCore.Metadata.IConventionProperty * Nullable<int64> * bool -> Nullable<int64>
<Extension()>
Public Function SetIdentitySeed (property As IConventionProperty, seed As Nullable(Of Long), Optional fromDataAnnotation As Boolean = false) As Nullable(Of Long)
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
SetIdentitySeed(IMutableProperty, Nullable<Int32>)
Establece la inicialización de identidad.
public static void SetIdentitySeed (this Microsoft.EntityFrameworkCore.Metadata.IMutableProperty property, int? seed);
static member SetIdentitySeed : Microsoft.EntityFrameworkCore.Metadata.IMutableProperty * Nullable<int> -> unit
<Extension()>
Public Sub SetIdentitySeed (property As IMutableProperty, seed As Nullable(Of Integer))
Parámetros
- property
- IMutableProperty
Propiedad.
Se aplica a
SetIdentitySeed(IMutableRelationalPropertyOverrides, Nullable<Int64>)
Establece la inicialización de identidad para una tabla determinada.
public static void SetIdentitySeed (this Microsoft.EntityFrameworkCore.Metadata.IMutableRelationalPropertyOverrides overrides, long? seed);
static member SetIdentitySeed : Microsoft.EntityFrameworkCore.Metadata.IMutableRelationalPropertyOverrides * Nullable<int64> -> unit
<Extension()>
Public Sub SetIdentitySeed (overrides As IMutableRelationalPropertyOverrides, seed As Nullable(Of Long))
Parámetros
- overrides
- IMutableRelationalPropertyOverrides
La propiedad invalida.
Se aplica a
SetIdentitySeed(IMutableProperty, Nullable<Int64>)
Establece la inicialización de identidad.
public static void SetIdentitySeed (this Microsoft.EntityFrameworkCore.Metadata.IMutableProperty property, long? seed);
static member SetIdentitySeed : Microsoft.EntityFrameworkCore.Metadata.IMutableProperty * Nullable<int64> -> unit
<Extension()>
Public Sub SetIdentitySeed (property As IMutableProperty, seed As Nullable(Of Long))
Parámetros
- property
- IMutableProperty
Propiedad.
Se aplica a
SetIdentitySeed(IConventionProperty, Nullable<Int32>, Boolean)
Establece la inicialización de identidad.
public static void SetIdentitySeed (this Microsoft.EntityFrameworkCore.Metadata.IConventionProperty property, int? seed, bool fromDataAnnotation = false);
public static int? SetIdentitySeed (this Microsoft.EntityFrameworkCore.Metadata.IConventionProperty property, int? seed, bool fromDataAnnotation = false);
static member SetIdentitySeed : Microsoft.EntityFrameworkCore.Metadata.IConventionProperty * Nullable<int> * bool -> unit
static member SetIdentitySeed : Microsoft.EntityFrameworkCore.Metadata.IConventionProperty * Nullable<int> * bool -> Nullable<int>
<Extension()>
Public Sub SetIdentitySeed (property As IConventionProperty, seed As Nullable(Of Integer), Optional fromDataAnnotation As Boolean = false)
<Extension()>
Public Function SetIdentitySeed (property As IConventionProperty, seed 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.