C# 클래스 TShockAPI.DB.GenericQueryCreator

파일 보기 프로젝트 열기: NyxStudios/TShock

보호된 프로퍼티들

프로퍼티 타입 설명
rand System.Random

공개 메소드들

메소드 설명
AlterTable ( SqlTable from, SqlTable to ) : string

Alter a table from source to destination

CreateTable ( SqlTable table ) : string
DeleteRow ( string table, List wheres ) : string
InsertValues ( string table, List values ) : string
ReadColumn ( string table, List wheres ) : string
RenameTable ( string from, string to ) : string
UpdateValue ( string table, List values, List wheres ) : string

보호된 메소드들

메소드 설명
BuildWhere ( List wheres ) : string
EscapeTableName ( string table ) : string

메소드 상세

AlterTable() 공개 메소드

Alter a table from source to destination
public AlterTable ( SqlTable from, SqlTable to ) : string
from SqlTable Must have name and column names. Column types are not required
to SqlTable Must have column names and column types.
리턴 string

BuildWhere() 보호된 정적인 메소드

protected static BuildWhere ( List wheres ) : string
wheres List
리턴 string

CreateTable() 공개 추상적인 메소드

public abstract CreateTable ( SqlTable table ) : string
table SqlTable
리턴 string

DeleteRow() 공개 메소드

public DeleteRow ( string table, List wheres ) : string
table string
wheres List
리턴 string

EscapeTableName() 보호된 추상적인 메소드

protected abstract EscapeTableName ( string table ) : string
table string
리턴 string

InsertValues() 공개 메소드

public InsertValues ( string table, List values ) : string
table string
values List
리턴 string

ReadColumn() 공개 메소드

public ReadColumn ( string table, List wheres ) : string
table string
wheres List
리턴 string

RenameTable() 공개 추상적인 메소드

public abstract RenameTable ( string from, string to ) : string
from string
to string
리턴 string

UpdateValue() 공개 메소드

public UpdateValue ( string table, List values, List wheres ) : string
table string
values List
wheres List
리턴 string

프로퍼티 상세

rand 보호되어 있는 정적으로 프로퍼티

protected static Random,System rand
리턴 System.Random