C# Class CsDO.Drivers.Npgsql.NpgsqlDriver

Inheritance: IDataBase
Datei anzeigen Open project: MonoBrasil/CsDO

Public Methods

Method Description
NpgsqlDriver ( ) : System
NpgsqlDriver ( string server, string port, 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

NpgsqlDriver() public method

public NpgsqlDriver ( ) : System
return System

NpgsqlDriver() public method

public NpgsqlDriver ( string server, string port, string user, string database, string password ) : System
server string
port 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 System.Data.Common.DbCommand

getConnection() public method

public getConnection ( ) : DbConnection
return System.Data.Common.DbConnection

getDataAdapter() public method

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

getParameter() public method

public getParameter ( ) : DbParameter
return System.Data.Common.DbParameter

getParameter() public method

public getParameter ( string name, DbType type, int size ) : DbParameter
name string
type DbType
size int
return System.Data.Common.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 System.Data.Common.DbCommand

getSystemConnection() public method

public getSystemConnection ( ) : DbConnection
return System.Data.Common.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