DotNetDupe
4.0.6
C++17/20 Implementation of the .NET Base Class Library (BCL)
Toggle main menu visibility
Loading...
Searching...
No Matches
DbDataReader.h
Go to the documentation of this file.
1
#pragma once
2
#include "
Common.h
"
3
#include "
System/Object.h
"
4
#include "
System/String.h
"
5
6
namespace
DotNetDupe
{
7
namespace
System
{
8
namespace
Data
{
9
namespace
Common
{
10
19
class
DbDataReader
:
public
virtual
DotNetDupe::System::Object
{
20
public
:
22
DbDataReader
() =
default
;
23
25
~DbDataReader
()
override
=
default
;
26
29
virtual
bool
Read
() = 0;
30
35
virtual
DotNetDupe::System::String
GetString
(
int
iOrdinal) = 0;
36
41
virtual
int
GetInt32
(
int
iOrdinal) = 0;
42
47
virtual
double
GetDouble
(
int
iOrdinal) = 0;
48
52
virtual
bool
IsDBNull
(
int
iOrdinal) = 0;
53
56
virtual
int
GetFieldCount
()
const
= 0;
57
61
virtual
DotNetDupe::System::String
GetName
(
int
iOrdinal) = 0;
62
67
virtual
int
GetOrdinal
(
const
DotNetDupe::System::String
& sName) = 0;
68
72
virtual
DotNetDupe::System::String
operator[]
(
const
DotNetDupe::System::String
& sName) = 0;
73
77
virtual
DotNetDupe::System::String
operator[]
(
int
iOrdinal) = 0;
78
};
79
80
}
81
}
82
}
83
}
Common.h
Defines common cross-platform macros, export decorators, and fundamental types.
Object.h
Base object class for DotNetDupe mirroring .NET System.Object.
String.h
High-performance UTF-8 / UTF-16 string manipulation class mirroring .NET System.String.
DotNetDupe::System::Data::Common::DbDataReader::GetInt32
virtual int GetInt32(int iOrdinal)=0
Gets the value of the specified column as a 32-bit signed integer.
DotNetDupe::System::Data::Common::DbDataReader::~DbDataReader
~DbDataReader() override=default
Virtual destructor for polymorphic cleanup.
DotNetDupe::System::Data::Common::DbDataReader::IsDBNull
virtual bool IsDBNull(int iOrdinal)=0
Gets a value that indicates whether the column contains non-existent or missing values.
DotNetDupe::System::Data::Common::DbDataReader::GetOrdinal
virtual int GetOrdinal(const DotNetDupe::System::String &sName)=0
Gets the column ordinal, given the name of the column.
DotNetDupe::System::Data::Common::DbDataReader::operator[]
virtual DotNetDupe::System::String operator[](int iOrdinal)=0
Gets the value of the specified column by ordinal index.
DotNetDupe::System::Data::Common::DbDataReader::GetDouble
virtual double GetDouble(int iOrdinal)=0
Gets the value of the specified column as a double-precision floating point number.
DotNetDupe::System::Data::Common::DbDataReader::DbDataReader
DbDataReader()=default
Initializes a new instance of the DbDataReader class.
DotNetDupe::System::Data::Common::DbDataReader::operator[]
virtual DotNetDupe::System::String operator[](const DotNetDupe::System::String &sName)=0
Gets the value of the specified column by column name.
DotNetDupe::System::Data::Common::DbDataReader::GetFieldCount
virtual int GetFieldCount() const =0
Gets the number of columns in the current row.
DotNetDupe::System::Data::Common::DbDataReader::Read
virtual bool Read()=0
Advances the reader to the next record in the result set.
DotNetDupe::System::Data::Common::DbDataReader::GetString
virtual DotNetDupe::System::String GetString(int iOrdinal)=0
Gets the value of the specified column as a string.
DotNetDupe::System::Data::Common::DbDataReader::GetName
virtual DotNetDupe::System::String GetName(int iOrdinal)=0
Gets the name of the column, given the zero-based column ordinal.
DotNetDupe::System::Object
Supports all classes in the DotNetDupe class hierarchy.
Definition
Object.h:18
DotNetDupe::System::String
Represents text as a sequence of UTF-8 code units with culture-invariant operations.
Definition
String.h:74
DotNetDupe::System::Data::Common
Definition
DbCommand.h:12
DotNetDupe::System::Data
Definition
DbCommand.h:11
DotNetDupe::System
Definition
Action.h:11
DotNetDupe
Definition
IServiceCollection.h:7
Include
System
Data
Common
DbDataReader.h
Generated by
1.18.0