C# Class UnitTests.Subtext.StubResultSet

Represents a result set for the StubDataReader.
Afficher le fichier Open project: ayende/Subtext Class Usage Examples

Méthodes publiques

Méthode 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 méthode

Adds the row.
public AddRow ( ) : void
Résultat void

GetFieldName() public méthode

public GetFieldName ( int i ) : string
i int
Résultat string

GetFieldNames() public méthode

public GetFieldNames ( ) : string[]
Résultat string[]

GetIndexFromFieldName() public méthode

public GetIndexFromFieldName ( string name ) : int
name string
Résultat int

Read() public méthode

public Read ( ) : bool
Résultat bool

StubResultSet() public méthode

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

this() public méthode

public this ( int i ) : object
i int
Résultat object

this() public méthode

public this ( string key ) : object
key string
Résultat object