Skip to main content

XPMemberInfo.MappingFieldDBType Property

Gets the MappingField‘s data type.

Namespace: DevExpress.Xpo.Metadata

Assembly: DevExpress.Xpo.v24.1.dll

NuGet Package: DevExpress.Xpo

Declaration

public DBColumnType MappingFieldDBType { get; }

Property Value

Type Description
DBColumnType

One of the enumeration values. Specifies the .NET analog of the data store column’s type. Use the MappingFieldDBTypeName property to get the SQL type name.

Available values:

Show 19 items
Name Description
Unknown

Indicates a non-standard data type.

Boolean

Indicates the Boolean data type.

Byte

Indicates the Byte data type.

SByte

Indicates the SByte data type.

Char

Indicates the Char data type.

Decimal

Indicates the Decimal data type.

Double

Indicates the Double data type.

Single

Indicates the Single data type.

Int32

Indicates the Int32 data type.

UInt32

Indicates the UInt32 data type.

Int16

Indicates the Int16 data type.

UInt16

Indicates the UInt16 data type.

Int64

Indicates the Int64 data type.

UInt64

Indicates the UInt64 data type.

String

Indicates the String data type.

DateTime

Indicates the DateTime data type.

Guid

Indicates the Guid data type.

TimeSpan

Obsolete. This API is obsolete now.

ByteArray

Indicates the Byte array data type.

See Also