1 write to DataType
System.ComponentModel.Annotations (1)
System\ComponentModel\DataAnnotations\DataTypeAttribute.cs (1)
26
DataType
= dataType;
7 references to DataType
System.ComponentModel.Annotations (7)
System\ComponentModel\DataAnnotations\DataTypeAttribute.cs (7)
9
/// Allows for clarification of the <see cref="
DataType
" /> represented by a given
23
/// <param name="dataType">The <see cref="
DataType
" /> enum value indicating the type to apply.</param>
67
/// Gets the string representing a custom data type. Returns a non-null value only if <see cref="
DataType
" /> is
78
/// Return the name of the data type, either using the <see cref="
DataType
" /> enum or <see cref="CustomDataType" />
87
if (
DataType
== DataType.Custom)
94
return _dataTypeStrings[(int)
DataType
];
117
if (
DataType
== DataType.Custom && string.IsNullOrWhiteSpace(CustomDataType))