C# Class Schumix.Framework.Database.DatabaseManager

Afficher le fichier Open project: Schumix/Schumix2 Class Usage Examples

Méthodes publiques

Méthode Description
DatabaseManager ( ) : System
Delete ( string sql ) : bool
Delete ( string TableName, string Where ) : bool
ExecuteNonQuery ( string Sql ) : void
Insert ( string sql ) : bool
IsCreatedTable ( string Table ) : bool
Query ( string sql ) : DataTable
QueryFirstRow ( string query ) : DataRow
RemoveTable ( string Table ) : bool
Update ( string sql ) : bool
Update ( string TableName, string Set ) : bool
Update ( string TableName, string Set, string Where ) : bool

Method Details

DatabaseManager() public méthode

public DatabaseManager ( ) : System
Résultat System

Delete() public méthode

public Delete ( string sql ) : bool
sql string
Résultat bool

Delete() public méthode

public Delete ( string TableName, string Where ) : bool
TableName string
Where string
Résultat bool

ExecuteNonQuery() public méthode

public ExecuteNonQuery ( string Sql ) : void
Sql string
Résultat void

Insert() public méthode

public Insert ( string sql ) : bool
sql string
Résultat bool

IsCreatedTable() public méthode

public IsCreatedTable ( string Table ) : bool
Table string
Résultat bool

Query() public méthode

public Query ( string sql ) : DataTable
sql string
Résultat System.Data.DataTable

QueryFirstRow() public méthode

public QueryFirstRow ( string query ) : DataRow
query string
Résultat System.Data.DataRow

RemoveTable() public méthode

public RemoveTable ( string Table ) : bool
Table string
Résultat bool

Update() public méthode

public Update ( string sql ) : bool
sql string
Résultat bool

Update() public méthode

public Update ( string TableName, string Set ) : bool
TableName string
Set string
Résultat bool

Update() public méthode

public Update ( string TableName, string Set, string Where ) : bool
TableName string
Set string
Where string
Résultat bool