Files
mono/mcs/class/System.Data/System.Data.SqlClient/SqlDataReader.cs
T
Daniel Morgan a9c683d500 2002-04-20 Daniel Morgan <[email protected]>
* System.Data.OleDb: added directory - for OleDb database
provider classes

* System.Data.SqlClient/SqlClientPermission.cs
* System.Data.SqlClient/SqlClientPermissionAttribute.cs
* System.Data.SqlClient/SqlCommandBuilder.cs
* System.Data.SqlClient/SqlInfoMessageEventHandler.cs
* System.Data.SqlClient/SqlRowUpdatedEventArgs.cs
* System.Data.SqlClient/SqlRowUpdatedEventHandler.cs
* System.Data.SqlClient/SqlRowUpdatingEventArgs.cs
* System.Data.SqlClient/SqlRowUpdatingEventHandler.cs
* Test/TestSqlException.cs
* Test/TestSqlIsolationLevel.cs: added - more tests

* System.Data.build: modified - added new files - excludes these too

* System.Data.SqlClient/PostgresLibrary.cs - modified - comment

* System.Data.SqlClient/SqlConnection.cs
* System.Data.SqlClient/SqlCommand.cs
* System.Data.SqlClient/SqlTransaction.cs
* System.Data.SqlClient/SqlException.cs
* System.Data.SqlClient/SqlErrorCollection.cs
* System.Data.SqlClient/SqlError.cs: modified - transaction and
  exception/error handling. SqlConnection(connectionString)
  constructor should not automatically connect.

* System.Data.SqlClient/SqlDataReader.cs
* System.Data.SqlClient/SqlDataAdapter.cs
* System.Data.SqlClient/SqlParameter.cs
* System.Data.SqlClient/SqlParameterCollection.cs: modified -
added using System.ComponentModel;

* Test/TestSqlInsert.cs: modified - to use transaction

svn path=/trunk/mcs/; revision=3933
2002-04-20 20:58:45 +00:00

214 lines
3.4 KiB
C#

//
// System.Data.SqlClient.SqlDataReader.cs
//
// Author:
// Rodrigo Moya ([email protected])
// Daniel Morgan ([email protected])
//
// (C) Ximian, Inc 2002
//
using System;
using System.Collections;
using System.ComponentModel;
using System.Data;
namespace System.Data.SqlClient
{
/// <summary>
/// Provides a means of reading one or more forward-only streams
/// of result sets obtained by executing a command
/// at a SQL database.
/// </summary>
//public sealed class SqlDataReader : MarshalByRefObject,
// IEnumerable, IDataReader, IDisposable, IDataRecord
public sealed class SqlDataReader : IEnumerable,
IDataReader, IDataRecord
{
#region Public Methods
[MonoTODO]
public void Close()
{
throw new NotImplementedException ();
}
[MonoTODO]
public DataTable GetSchemaTable()
{
throw new NotImplementedException ();
}
[MonoTODO]
public bool NextResult()
{
throw new NotImplementedException ();
}
[MonoTODO]
public bool Read()
{
throw new NotImplementedException ();
}
byte GetByte(int i)
{
throw new NotImplementedException ();
}
long GetBytes(int i, long fieldOffset,
byte[] buffer, int bufferOffset,
int length)
{
throw new NotImplementedException ();
}
char GetChar(int i)
{
throw new NotImplementedException ();
}
long GetChars(int i, long fieldOffset,
char[] buffer, int bufferOffset,
int length)
{
throw new NotImplementedException ();
}
IDataReader GetData(int i)
{
throw new NotImplementedException ();
}
string GetDataTypeName(int i)
{
throw new NotImplementedException ();
}
DateTime GetDateTime(int i)
{
throw new NotImplementedException ();
}
decimal GetDecimal(int i)
{
throw new NotImplementedException ();
}
double GetDouble(int i)
{
throw new NotImplementedException ();
}
Type GetFieldType(int i)
{
throw new NotImplementedException ();
}
float GetFloat(int i)
{
throw new NotImplementedException ();
}
Guid GetGuid(int i)
{
throw new NotImplementedException ();
}
short GetInt16(int i)
{
throw new NotImplementedException ();
}
int GetInt32(int i)
{
throw new NotImplementedException ();
}
long GetInt64(int i)
{
throw new NotImplementedException ();
}
string GetName(int i)
{
throw new NotImplementedException ();
}
int GetOrdinal(string name)
{
throw new NotImplementedException ();
}
string GetString(int i)
{
throw new NotImplementedException ();
}
object GetValue(int i)
{
throw new NotImplementedException ();
}
int GetValues(object[] values)
{
throw new NotImplementedException ();
}
bool IsDBNull(int i)
{
throw new NotImplementedException ();
}
bool GetBoolean(int i)
{
throw new NotImplementedException ();
}
#endregion
#region Properties
[MonoTODO]
public int Depth {
get {
throw new NotImplementedException ();
}
}
[MonoTODO]
public bool IsClosed {
get {
throw new NotImplementedException ();
}
}
[MonoTODO]
public int RecordsAffected {
get {
throw new NotImplementedException ();
}
}
int FieldCount {
get {
throw new NotImplementedException ();
}
}
object this[string name] {
get {
throw new NotImplementedException ();
}
}
object this[int i] {
get
{
throw new NotImplementedException ();
}
}
#endregion
}
}