Show / Hide Table of Contents

Class SqlReader

Reads data from SQL Server database.

Inheritance
System.Object
DbReader
SqlReader
Implements
System.IDisposable
Inherited Members
DbReader.Model
DbReader.ToString()
DbReader.Close()
DbReader.IsClosed
DbReader.IsBof
DbReader.IsEof
DbReader.ReadAsync(CancellationToken)
DbReader.Item[Int32]
DbReader.GetBoolean(Int32)
DbReader.GetByte(Int32)
DbReader.GetDateTime(Int32)
DbReader.GetDecimal(Int32)
DbReader.GetDouble(Int32)
DbReader.GetGuid(Int32)
DbReader.GetInt16(Int32)
DbReader.GetInt32(Int32)
DbReader.GetInt64(Int32)
DbReader.GetSingle(Int32)
DbReader.GetString(Int32)
DbReader.Dispose()
DbReader.Dispose(Boolean)
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: DevZest.Data.SqlServer
Assembly: DevZest.Data.SqlServer.dll
Syntax
public sealed class SqlReader : DbReader, IDisposable

Properties

Name Description
SqlDataReader

Gets the SQL Server data reader.

Methods

Name Description
GetChar(Int32)

Retrieves the value of the specified column as nullable System.Char.

GetDateTimeOffset(Int32)

Retrieves the value of the specified column as nullable System.DateTimeOffset.

GetDbDataReader()
GetSqlXml(Int32)

Retrieves the value of the specified column as System.Data.SqlTypes.SqlXml.

GetTimeSpan(Int32)

Retrieves the value of the specified column as nullable System.TimeSpan.

  • Improve this Doc
  • View Source
Back to top Copyright © Weifen Luo | DevZest