DbDataReaderExtensions.GetColumnSchema(DbDataReader) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the column schema (DbColumn collection) for a DbDataReader.
public:
[System::Runtime::CompilerServices::Extension]
static System::Collections::ObjectModel::ReadOnlyCollection<System::Data::Common::DbColumn ^> ^ GetColumnSchema(System::Data::Common::DbDataReader ^ reader);
public static System.Collections.ObjectModel.ReadOnlyCollection<System.Data.Common.DbColumn> GetColumnSchema (this System.Data.Common.DbDataReader reader);
static member GetColumnSchema : System.Data.Common.DbDataReader -> System.Collections.ObjectModel.ReadOnlyCollection<System.Data.Common.DbColumn>
<Extension()>
Public Function GetColumnSchema (reader As DbDataReader) As ReadOnlyCollection(Of DbColumn)
Parameters
- reader
- DbDataReader
The DbDataReader to return the column schema.
Returns
The column schema (DbColumn collection) for a DbDataReader.
Applies to
Surađujte s nama na GitHubu
Izvor za ovaj sadržaj možete pronaći na GitHubu, gdje možete stvarati i pregledavati probleme i zahtjeve za povlačenjem. Dodatne informacije potražite u našem vodiču za suradnike.