C# Class CsDO.Drivers.SqlServer.SqlServerDriver

Inheritance: IDataBase
Datei anzeigen Open project: MonoBrasil/CsDO

Public Methods

Method Description
SqlServerDriver ( ) : System
SqlServerDriver ( string server, string user, string database, string password ) : 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
getSystemConnection ( ) : DbConnection
open ( string URL ) : void

Protected Methods

Method Description
getUrl ( ) : string
getUrlSys ( ) : string

Method Details

SqlServerDriver() public method

public SqlServerDriver ( ) : System
return System

SqlServerDriver() public method

public SqlServerDriver ( string server, string user, string database, string password ) : System
server string
user string
database string
password string
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

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

getSystemConnection() public method

public getSystemConnection ( ) : DbConnection
return DbConnection

getUrl() protected method

protected getUrl ( ) : string
return string

getUrlSys() protected method

protected getUrlSys ( ) : string
return string

open() public method

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