C# Class CsDO.Lib.MockDriver.MockDriver

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

Méthodes publiques

Méthode Description
MockDriver ( ) : System
MockDriver ( string connectionString ) : System
addColumn ( string tableName, string columnName, Type dataType ) : DataColumn
addColumn ( string tableName, string columnName, Type dataType, bool b, bool b2 ) : DataColumn
addRow ( string tableName, DataRow row ) : void
addTable ( string name ) : DataTable
close ( ) : void
getCommand ( String sql ) : DbCommand
getConnection ( ) : DbConnection
getDataAdapter ( DbCommand command ) : DbDataAdapter
getParameter ( ) : DbParameter
getParameter ( string name, DbType type, int size ) : DbParameter
getPreviousCommand ( ) : MockCommand
getSchema ( ) : DataTable
getSchema ( string collectionName ) : DataTable
getSchema ( string collectionName, string restrictions ) : DataTable
getSystemCommand ( String sql ) : DbCommand
getSystemConnection ( ) : DbConnection
newRow ( string tableName ) : DataRow
open ( string URL ) : void

Méthodes protégées

Méthode Description
getUrl ( ) : string
getUrlSys ( ) : string

Method Details

MockDriver() public méthode

public MockDriver ( ) : System
Résultat System

MockDriver() public méthode

public MockDriver ( string connectionString ) : System
connectionString string
Résultat System

addColumn() public méthode

public addColumn ( string tableName, string columnName, Type dataType ) : DataColumn
tableName string
columnName string
dataType System.Type
Résultat System.Data.DataColumn

addColumn() public méthode

public addColumn ( string tableName, string columnName, Type dataType, bool b, bool b2 ) : DataColumn
tableName string
columnName string
dataType System.Type
b bool
b2 bool
Résultat System.Data.DataColumn

addRow() public méthode

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

addTable() public méthode

public addTable ( string name ) : DataTable
name string
Résultat System.Data.DataTable

close() public méthode

public close ( ) : void
Résultat void

getCommand() public méthode

public getCommand ( String sql ) : DbCommand
sql String
Résultat System.Data.Common.DbCommand

getConnection() public méthode

public getConnection ( ) : DbConnection
Résultat System.Data.Common.DbConnection

getDataAdapter() public méthode

public getDataAdapter ( DbCommand command ) : DbDataAdapter
command System.Data.Common.DbCommand
Résultat System.Data.Common.DbDataAdapter

getParameter() public méthode

public getParameter ( ) : DbParameter
Résultat System.Data.Common.DbParameter

getParameter() public méthode

public getParameter ( string name, DbType type, int size ) : DbParameter
name string
type DbType
size int
Résultat System.Data.Common.DbParameter

getPreviousCommand() public méthode

public getPreviousCommand ( ) : MockCommand
Résultat MockCommand

getSchema() public méthode

public getSchema ( ) : DataTable
Résultat System.Data.DataTable

getSchema() public méthode

public getSchema ( string collectionName ) : DataTable
collectionName string
Résultat System.Data.DataTable

getSchema() public méthode

public getSchema ( string collectionName, string restrictions ) : DataTable
collectionName string
restrictions string
Résultat System.Data.DataTable

getSystemCommand() public méthode

public getSystemCommand ( String sql ) : DbCommand
sql String
Résultat System.Data.Common.DbCommand

getSystemConnection() public méthode

public getSystemConnection ( ) : DbConnection
Résultat System.Data.Common.DbConnection

getUrl() protected méthode

protected getUrl ( ) : string
Résultat string

getUrlSys() protected méthode

protected getUrlSys ( ) : string
Résultat string

newRow() public méthode

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

open() public méthode

public open ( string URL ) : void
URL string
Résultat void