C# Class TShockAPI.DB.SqlTableCreator

显示文件 Open project: NyxStudios/TShock Class Usage Examples

Public Methods

Method Description
DeleteRow ( string table, List wheres ) : void
EnsureTableStructure ( SqlTable table ) : bool
GetColumns ( SqlTable table ) : List
SqlTableCreator ( IDbConnection db, IQueryBuilder provider ) : System

Private Methods

Method Description
EnsureExists ( SqlTable table ) : void

Method Details

DeleteRow() public method

public DeleteRow ( string table, List wheres ) : void
table string
wheres List
return void

EnsureTableStructure() public method

public EnsureTableStructure ( SqlTable table ) : bool
table SqlTable
return bool

GetColumns() public method

public GetColumns ( SqlTable table ) : List
table SqlTable
return List

SqlTableCreator() public method

public SqlTableCreator ( IDbConnection db, IQueryBuilder provider ) : System
db IDbConnection
provider IQueryBuilder
return System