C# Class CsDO.Tests.MockDriver

Inheritance: IDataBase
Afficher le fichier Open project: MonoBrasil/CsDO

Protected Properties

Свойство Type Description
dataset System.Data.DataSet

Méthodes publiques

Méthode Description
MockDriver ( ) : System
addColumn ( string table, string name, Type type ) : void
addColumn ( string table, string name, Type type, bool unique, bool readOnly ) : void
addRow ( string table, DataRow row ) : void
addTable ( string name ) : void
clearTable ( string table ) : void
clearTables ( ) : void
getColumn ( string table, int index ) : DataColumn
getColumnCount ( string table ) : int
getColumnIndex ( string table, string name ) : int
getCommand ( String sql ) : IDbCommand
getDataAdapter ( IDbCommand command ) : IDataAdapter
getPreviousCommand ( ) : MockDbCommand
getPreviousConnection ( ) : MockDbConnection
getSystemCommand ( String sql ) : IDbCommand
newRow ( string table ) : DataRow
setPrimaryKey ( string table, string name ) : void

Méthodes protégées

Méthode Description
getConnection ( ) : IDbConnection
getSystemConnection ( ) : IDbConnection

Method Details

MockDriver() public méthode

public MockDriver ( ) : System
Résultat System

addColumn() public méthode

public addColumn ( string table, string name, Type type ) : void
table string
name string
type System.Type
Résultat void

addColumn() public méthode

public addColumn ( string table, string name, Type type, bool unique, bool readOnly ) : void
table string
name string
type System.Type
unique bool
readOnly bool
Résultat void

addRow() public méthode

public addRow ( string table, DataRow row ) : void
table string
row System.Data.DataRow
Résultat void

addTable() public méthode

public addTable ( string name ) : void
name string
Résultat void

clearTable() public méthode

public clearTable ( string table ) : void
table string
Résultat void

clearTables() public méthode

public clearTables ( ) : void
Résultat void

getColumn() public méthode

public getColumn ( string table, int index ) : DataColumn
table string
index int
Résultat System.Data.DataColumn

getColumnCount() public méthode

public getColumnCount ( string table ) : int
table string
Résultat int

getColumnIndex() public méthode

public getColumnIndex ( string table, string name ) : int
table string
name string
Résultat int

getCommand() public méthode

public getCommand ( String sql ) : IDbCommand
sql String
Résultat IDbCommand

getConnection() protected méthode

protected getConnection ( ) : IDbConnection
Résultat IDbConnection

getDataAdapter() public méthode

public getDataAdapter ( IDbCommand command ) : IDataAdapter
command IDbCommand
Résultat IDataAdapter

getPreviousCommand() public méthode

public getPreviousCommand ( ) : MockDbCommand
Résultat MockDbCommand

getPreviousConnection() public méthode

public getPreviousConnection ( ) : MockDbConnection
Résultat MockDbConnection

getSystemCommand() public méthode

public getSystemCommand ( String sql ) : IDbCommand
sql String
Résultat IDbCommand

getSystemConnection() protected méthode

protected getSystemConnection ( ) : IDbConnection
Résultat IDbConnection

newRow() public méthode

public newRow ( string table ) : DataRow
table string
Résultat System.Data.DataRow

setPrimaryKey() public méthode

public setPrimaryKey ( string table, string name ) : void
table string
name string
Résultat void

Property Details

dataset protected_oe property

protected DataSet,System.Data dataset
Résultat System.Data.DataSet