Compartir a través de


IConventionSequence.SetClrType(Type, Boolean) Método

Definición

Precaución

Use SetType

Establece los Type valores devueltos por la secuencia.

public void SetClrType (Type clrType, bool fromDataAnnotation = false);
[System.Obsolete("Use SetType")]
public Type SetClrType (Type type, bool fromDataAnnotation = false);
[System.Obsolete("Use SetType")]
public Type? SetClrType (Type? type, bool fromDataAnnotation = false);
abstract member SetClrType : Type * bool -> unit
[<System.Obsolete("Use SetType")>]
abstract member SetClrType : Type * bool -> Type
Public Sub SetClrType (clrType As Type, Optional fromDataAnnotation As Boolean = false)
Public Function SetClrType (type As Type, Optional fromDataAnnotation As Boolean = false) As Type

Parámetros

clrTypetype
Type

de Type los valores devueltos por la secuencia.

fromDataAnnotation
Boolean

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

Devoluciones

El valor configurado.

Atributos

Se aplica a