AdoDotNetSchemaReader 构造函数

定义

重载

AdoDotNetSchemaReader(DbDataReader)

AdoDotNetSchemaReader使用数据读取器对象初始化类的新实例。

AdoDotNetSchemaReader(DbDataReader, DbCommand)

AdoDotNetSchemaReader使用数据读取器对象和数据命令对象初始化类的新实例。

AdoDotNetSchemaReader(DbDataReader)

AdoDotNetSchemaReader使用数据读取器对象初始化类的新实例。

public:
 AdoDotNetSchemaReader(System::Data::Common::DbDataReader ^ reader);
public AdoDotNetSchemaReader (System.Data.Common.DbDataReader reader);
new Microsoft.VisualStudio.Data.Framework.AdoDotNet.AdoDotNetSchemaReader : System.Data.Common.DbDataReader -> Microsoft.VisualStudio.Data.Framework.AdoDotNet.AdoDotNetSchemaReader
Public Sub New (reader As DbDataReader)

参数

reader
DbDataReader

一个 DbDataReader 包含结果集和架构的对象。

适用于

AdoDotNetSchemaReader(DbDataReader, DbCommand)

AdoDotNetSchemaReader使用数据读取器对象和数据命令对象初始化类的新实例。

public:
 AdoDotNetSchemaReader(System::Data::Common::DbDataReader ^ reader, System::Data::Common::DbCommand ^ command);
public AdoDotNetSchemaReader (System.Data.Common.DbDataReader reader, System.Data.Common.DbCommand command);
new Microsoft.VisualStudio.Data.Framework.AdoDotNet.AdoDotNetSchemaReader : System.Data.Common.DbDataReader * System.Data.Common.DbCommand -> Microsoft.VisualStudio.Data.Framework.AdoDotNet.AdoDotNetSchemaReader
Public Sub New (reader As DbDataReader, command As DbCommand)

参数

reader
DbDataReader

一个 DbDataReader 包含结果集和架构的对象。

command
DbCommand

一个 DbCommand 对象,该对象封装针对数据源执行的命令,这允许方法的实现 Terminate() CancelAsync(Object) 在命令上调用。

适用于