Share via


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

Definição

Retorna um valor que indica se o tipo determinado pode ser definido para a sequência.

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

O tipo de valores retornados pela sequência.

fromDataAnnotation
Boolean

Indica se a configuração foi especificada usando uma anotação de dados.

Retornos

true se o tipo fornecido puder ser definido para a sequência.

Implementações

Aplica-se a