C# Class CsDO.Drivers.Generic

Summary description for CsDO.
Inheritance: IDataBase
Exibir arquivo Open project: MonoBrasil/CsDO

Public Methods

Method Description
Dispose ( ) : void
Generic ( ) : System
close ( ) : void
getCommand ( String sql ) : DbCommand
getConnection ( ) : DbConnection
getDataAdapter ( DbCommand command ) : DbDataAdapter
getParameter ( ) : DbParameter
getParameter ( string name, DbType type, int size ) : DbParameter
getSchema ( ) : DataTable
getSchema ( string collectionName ) : DataTable
getSchema ( string collectionName, string restrictions ) : DataTable
getSystemCommand ( String sql ) : DbCommand
open ( string URL ) : void

Protected Methods

Method Description
getConnection ( string URL ) : DbConnection
objectCommand ( ) : DbCommand
objectDataAdapter ( ) : DbDataAdapter
objectDataAdapter ( DbCommand command ) : DbDataAdapter
objectParameter ( ) : DbParameter

Method Details

Dispose() public method

public Dispose ( ) : void
return void

Generic() public method

public Generic ( ) : System
return System

close() public method

public close ( ) : void
return void

getCommand() public method

public getCommand ( String sql ) : DbCommand
sql String
return DbCommand

getConnection() public method

public getConnection ( ) : DbConnection
return DbConnection

getConnection() protected method

protected getConnection ( string URL ) : DbConnection
URL string
return DbConnection

getDataAdapter() public method

public getDataAdapter ( DbCommand command ) : DbDataAdapter
command DbCommand
return DbDataAdapter

getParameter() public method

public getParameter ( ) : DbParameter
return DbParameter

getParameter() public method

public getParameter ( string name, DbType type, int size ) : DbParameter
name string
type DbType
size int
return DbParameter

getSchema() public method

public getSchema ( ) : DataTable
return System.Data.DataTable

getSchema() public method

public getSchema ( string collectionName ) : DataTable
collectionName string
return System.Data.DataTable

getSchema() public method

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

getSystemCommand() public method

public getSystemCommand ( String sql ) : DbCommand
sql String
return DbCommand

objectCommand() protected method

protected objectCommand ( ) : DbCommand
return DbCommand

objectDataAdapter() protected method

protected objectDataAdapter ( ) : DbDataAdapter
return DbDataAdapter

objectDataAdapter() protected method

protected objectDataAdapter ( DbCommand command ) : DbDataAdapter
command DbCommand
return DbDataAdapter

objectParameter() protected method

protected objectParameter ( ) : DbParameter
return DbParameter

open() public method

public open ( string URL ) : void
URL string
return void