MetaDataMember.DbType 属性
定义
在派生类中重写时,获取相应数据库列的类型。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
属性值
以字符串表示的数据库列的类型。The type of the database column as a string.
注解
这将是用于在 Transact-sql 表声明命令中定义列的确切文本。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.