C# 클래스 UnitTests.Subtext.StubDataReader

This class fakes up a data reader.
상속: IDataReader
파일 보기 프로젝트 열기: ayende/Subtext 1 사용 예제들

Private Properties

프로퍼티 타입 설명

공개 메소드들

메소드 설명
Close ( ) : void
Dispose ( ) : void
GetBoolean ( int i ) : bool
GetByte ( int i ) : byte
GetBytes ( int i, long fieldOffset, byte buffer, int bufferoffset, int length ) : long
GetChar ( int i ) : char
GetChars ( int i, long fieldoffset, char buffer, int bufferoffset, int length ) : long
GetData ( int i ) : IDataReader
GetDataTypeName ( int i ) : string
GetDateTime ( int i ) : System.DateTime
GetDecimal ( int i ) : decimal
GetDouble ( int i ) : double
GetFieldType ( int i ) : Type
GetFloat ( int i ) : float
GetGuid ( int i ) : System.Guid
GetInt16 ( int i ) : short
GetInt32 ( int i ) : int
GetInt64 ( int i ) : long
GetName ( int i ) : string
GetOrdinal ( string name ) : int
GetSchemaTable ( ) : DataTable
GetString ( int i ) : string
GetValue ( int i ) : object
GetValues ( object values ) : int
IsDBNull ( int i ) : bool
NextResult ( ) : bool
Read ( ) : bool
StubDataReader ( ) : System

Initializes a new instance of the StubDataReader class. Each row in the arraylist is a result set.

StubDataReader ( IList stubResultSets ) : System

Initializes a new instance of the StubDataReader class. Each row in the arraylist is a result set.

this ( int i ) : object
this ( string name ) : object

메소드 상세

Close() 공개 메소드

public Close ( ) : void
리턴 void

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

GetBoolean() 공개 메소드

public GetBoolean ( int i ) : bool
i int
리턴 bool

GetByte() 공개 메소드

public GetByte ( int i ) : byte
i int
리턴 byte

GetBytes() 공개 메소드

public GetBytes ( int i, long fieldOffset, byte buffer, int bufferoffset, int length ) : long
i int
fieldOffset long
buffer byte
bufferoffset int
length int
리턴 long

GetChar() 공개 메소드

public GetChar ( int i ) : char
i int
리턴 char

GetChars() 공개 메소드

public GetChars ( int i, long fieldoffset, char buffer, int bufferoffset, int length ) : long
i int
fieldoffset long
buffer char
bufferoffset int
length int
리턴 long

GetData() 공개 메소드

public GetData ( int i ) : IDataReader
i int
리턴 IDataReader

GetDataTypeName() 공개 메소드

public GetDataTypeName ( int i ) : string
i int
리턴 string

GetDateTime() 공개 메소드

public GetDateTime ( int i ) : System.DateTime
i int
리턴 System.DateTime

GetDecimal() 공개 메소드

public GetDecimal ( int i ) : decimal
i int
리턴 decimal

GetDouble() 공개 메소드

public GetDouble ( int i ) : double
i int
리턴 double

GetFieldType() 공개 메소드

public GetFieldType ( int i ) : Type
i int
리턴 System.Type

GetFloat() 공개 메소드

public GetFloat ( int i ) : float
i int
리턴 float

GetGuid() 공개 메소드

public GetGuid ( int i ) : System.Guid
i int
리턴 System.Guid

GetInt16() 공개 메소드

public GetInt16 ( int i ) : short
i int
리턴 short

GetInt32() 공개 메소드

public GetInt32 ( int i ) : int
i int
리턴 int

GetInt64() 공개 메소드

public GetInt64 ( int i ) : long
i int
리턴 long

GetName() 공개 메소드

public GetName ( int i ) : string
i int
리턴 string

GetOrdinal() 공개 메소드

public GetOrdinal ( string name ) : int
name string
리턴 int

GetSchemaTable() 공개 메소드

public GetSchemaTable ( ) : DataTable
리턴 System.Data.DataTable

GetString() 공개 메소드

public GetString ( int i ) : string
i int
리턴 string

GetValue() 공개 메소드

public GetValue ( int i ) : object
i int
리턴 object

GetValues() 공개 메소드

public GetValues ( object values ) : int
values object
리턴 int

IsDBNull() 공개 메소드

public IsDBNull ( int i ) : bool
i int
리턴 bool

NextResult() 공개 메소드

public NextResult ( ) : bool
리턴 bool

Read() 공개 메소드

public Read ( ) : bool
리턴 bool

StubDataReader() 공개 메소드

Initializes a new instance of the StubDataReader class. Each row in the arraylist is a result set.
public StubDataReader ( ) : System
리턴 System

StubDataReader() 공개 메소드

Initializes a new instance of the StubDataReader class. Each row in the arraylist is a result set.
public StubDataReader ( IList stubResultSets ) : System
stubResultSets IList The result sets.
리턴 System

this() 공개 메소드

public this ( int i ) : object
i int
리턴 object

this() 공개 메소드

public this ( string name ) : object
name string
리턴 object