C# 클래스 CsDO.Lib.MockDriver.MockDriver

상속: IDataBase
파일 보기 프로젝트 열기: MonoBrasil/CsDO

공개 메소드들

메소드 설명
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

보호된 메소드들

메소드 설명
getUrl ( ) : string
getUrlSys ( ) : string

메소드 상세

MockDriver() 공개 메소드

public MockDriver ( ) : System
리턴 System

MockDriver() 공개 메소드

public MockDriver ( string connectionString ) : System
connectionString string
리턴 System

addColumn() 공개 메소드

public addColumn ( string tableName, string columnName, Type dataType ) : DataColumn
tableName string
columnName string
dataType System.Type
리턴 System.Data.DataColumn

addColumn() 공개 메소드

public addColumn ( string tableName, string columnName, Type dataType, bool b, bool b2 ) : DataColumn
tableName string
columnName string
dataType System.Type
b bool
b2 bool
리턴 System.Data.DataColumn

addRow() 공개 메소드

public addRow ( string tableName, DataRow row ) : void
tableName string
row System.Data.DataRow
리턴 void

addTable() 공개 메소드

public addTable ( string name ) : DataTable
name string
리턴 System.Data.DataTable

close() 공개 메소드

public close ( ) : void
리턴 void

getCommand() 공개 메소드

public getCommand ( String sql ) : DbCommand
sql String
리턴 System.Data.Common.DbCommand

getConnection() 공개 메소드

public getConnection ( ) : DbConnection
리턴 System.Data.Common.DbConnection

getDataAdapter() 공개 메소드

public getDataAdapter ( DbCommand command ) : DbDataAdapter
command System.Data.Common.DbCommand
리턴 System.Data.Common.DbDataAdapter

getParameter() 공개 메소드

public getParameter ( ) : DbParameter
리턴 System.Data.Common.DbParameter

getParameter() 공개 메소드

public getParameter ( string name, DbType type, int size ) : DbParameter
name string
type DbType
size int
리턴 System.Data.Common.DbParameter

getPreviousCommand() 공개 메소드

public getPreviousCommand ( ) : MockCommand
리턴 MockCommand

getSchema() 공개 메소드

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

getSchema() 공개 메소드

public getSchema ( string collectionName ) : DataTable
collectionName string
리턴 System.Data.DataTable

getSchema() 공개 메소드

public getSchema ( string collectionName, string restrictions ) : DataTable
collectionName string
restrictions string
리턴 System.Data.DataTable

getSystemCommand() 공개 메소드

public getSystemCommand ( String sql ) : DbCommand
sql String
리턴 System.Data.Common.DbCommand

getSystemConnection() 공개 메소드

public getSystemConnection ( ) : DbConnection
리턴 System.Data.Common.DbConnection

getUrl() 보호된 메소드

protected getUrl ( ) : string
리턴 string

getUrlSys() 보호된 메소드

protected getUrlSys ( ) : string
리턴 string

newRow() 공개 메소드

public newRow ( string tableName ) : DataRow
tableName string
리턴 System.Data.DataRow

open() 공개 메소드

public open ( string URL ) : void
URL string
리턴 void