C# Class TShockAPI.DB.MysqlQueryCreator

Inheritance: GenericQueryCreator, IQueryBuilder
显示文件 Open project: NyxStudios/TShock Class Usage Examples

Public Methods

Method Description
CreateTable ( SqlTable table ) : string
DbTypeToString ( MySqlDbType type, int length ) : string
RenameTable ( string from, string to ) : string

Protected Methods

Method Description
EscapeTableName ( string table ) : string

Method Details

CreateTable() public method

public CreateTable ( SqlTable table ) : string
table SqlTable
return string

DbTypeToString() public method

public DbTypeToString ( MySqlDbType type, int length ) : string
type MySqlDbType
length int
return string

EscapeTableName() protected method

protected EscapeTableName ( string table ) : string
table string
return string

RenameTable() public method

public RenameTable ( string from, string to ) : string
from string
to string
return string