C# Class UnitTests.Subtext.StubResultSet

Represents a result set for the StubDataReader.
ファイルを表示 Open project: ayende/Subtext Class Usage Examples

Public Methods

Method Description
AddRow ( ) : void

Adds the row.

GetFieldName ( int i ) : string
GetFieldNames ( ) : string[]
GetIndexFromFieldName ( string name ) : int
Read ( ) : bool
StubResultSet ( ) : System

Initializes a new instance of the StubResultSet class with the column names.

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

Method Details

AddRow() public method

Adds the row.
public AddRow ( ) : void
return void

GetFieldName() public method

public GetFieldName ( int i ) : string
i int
return string

GetFieldNames() public method

public GetFieldNames ( ) : string[]
return string[]

GetIndexFromFieldName() public method

public GetIndexFromFieldName ( string name ) : int
name string
return int

Read() public method

public Read ( ) : bool
return bool

StubResultSet() public method

Initializes a new instance of the StubResultSet class with the column names.
public StubResultSet ( ) : System
return System

this() public method

public this ( int i ) : object
i int
return object

this() public method

public this ( string key ) : object
key string
return object