Compartir a través de


SequenceBuilder.IConventionSequenceBuilder.CanSetType(Type, Boolean) Método

Definición

Devuelve un valor que indica si el tipo especificado se puede establecer para la secuencia.

bool IConventionSequenceBuilder.CanSetType (Type type, bool fromDataAnnotation);
abstract member Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionSequenceBuilder.CanSetType : Type * bool -> bool
override this.Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionSequenceBuilder.CanSetType : Type * bool -> bool
Function CanSetType (type As Type, fromDataAnnotation As Boolean) As Boolean Implements IConventionSequenceBuilder.CanSetType

Parámetros

type
Type

Tipo de valores devueltos por la secuencia.

fromDataAnnotation
Boolean

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

Devoluciones

true si se puede establecer el tipo especificado para la secuencia.

Implementaciones

Se aplica a