C# Class Schumix.Framework.Database.DatabaseManager

Exibir arquivo Open project: Schumix/Schumix2 Class Usage Examples

Public Methods

Method 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 method

public DatabaseManager ( ) : System
return System

Delete() public method

public Delete ( string sql ) : bool
sql string
return bool

Delete() public method

public Delete ( string TableName, string Where ) : bool
TableName string
Where string
return bool

ExecuteNonQuery() public method

public ExecuteNonQuery ( string Sql ) : void
Sql string
return void

Insert() public method

public Insert ( string sql ) : bool
sql string
return bool

IsCreatedTable() public method

public IsCreatedTable ( string Table ) : bool
Table string
return bool

Query() public method

public Query ( string sql ) : DataTable
sql string
return System.Data.DataTable

QueryFirstRow() public method

public QueryFirstRow ( string query ) : DataRow
query string
return System.Data.DataRow

RemoveTable() public method

public RemoveTable ( string Table ) : bool
Table string
return bool

Update() public method

public Update ( string sql ) : bool
sql string
return bool

Update() public method

public Update ( string TableName, string Set ) : bool
TableName string
Set string
return bool

Update() public method

public Update ( string TableName, string Set, string Where ) : bool
TableName string
Set string
Where string
return bool