Читати англійською Редагувати

Поділитися через


MetaDataMember.DbType Property

Definition

When overridden in a derived class, gets the type of the corresponding database column.

C#
public abstract string DbType { get; }

Property Value

The type of the database column as a string.

Remarks

This will be the exact text used to define the column in a Transact-SQL table declaration command. If not so defined, the database column type is inferred from the member type.

Applies to

Продукт Версії
.NET Framework 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1