Redigera

Dela via


MetaDataMember.DbType Property

Definition

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

public:
 abstract property System::String ^ DbType { System::String ^ get(); };
public abstract string DbType { get; }
member this.DbType : string
Public MustOverride ReadOnly Property DbType As String

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