C# Class Moma.DB.BaseData

Datei anzeigen Open project: mono/momareports

Public Methods

Method Description
BaseData ( string connection_string ) : System

Protected Methods

Method Description
AddParameter ( DbCommand cmd, string name, object val ) : DbParameter
GetConnection ( ) : DbConnection
GetDataAdapter ( DbCommand cmd ) : DbDataAdapter

Method Details

AddParameter() protected static method

protected static AddParameter ( DbCommand cmd, string name, object val ) : DbParameter
cmd DbCommand
name string
val object
return DbParameter

BaseData() public method

public BaseData ( string connection_string ) : System
connection_string string
return System

GetConnection() protected method

protected GetConnection ( ) : DbConnection
return DbConnection

GetDataAdapter() protected method

protected GetDataAdapter ( DbCommand cmd ) : DbDataAdapter
cmd DbCommand
return System.Data.Common.DbDataAdapter