C# Class TShockAPI.DB.DBTools

Show file Open project: NyxStudios/TShock

Public Properties

Property Type Description
database IDbConnection

Public Methods

Method Description
CreateTable ( string name, bool IfNotExists, List columns ) : void
InsertTable ( string tablename, bool Ignore, List Values, List WhereAndStatements ) : void

Method Details

CreateTable() public static method

public static CreateTable ( string name, bool IfNotExists, List columns ) : void
name string
IfNotExists bool
columns List
return void

InsertTable() public static method

public static InsertTable ( string tablename, bool Ignore, List Values, List WhereAndStatements ) : void
tablename string
Ignore bool
Values List
WhereAndStatements List
return void

Property Details

database public static property

public static IDbConnection database
return IDbConnection