C# 클래스 Sqlite, chronojump

파일 보기 프로젝트 열기: GNOME/chronojump 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
IsOpened bool
SafeClose bool
sqlFileServer string

보호된 프로퍼티들

프로퍼티 타입 설명
conversionSubRate int
conversionSubRateTotal int
dbcmd Mono.Data.Sqlite.SqliteCommand
dbcon Mono.Data.Sqlite.SqliteConnection

공개 메소드들

메소드 설명
ChangeDjToDJna ( ) : bool
CheckFileServer ( ) : bool
CheckTables ( bool defaultDBLocation ) : bool
Close ( ) : void
Connect ( ) : bool
ConnectBlank ( ) : void
ConnectServer ( ) : void
ConvertFromSqlite2To3 ( ) : bool
ConvertToLastChronojumpDBVersion ( ) : bool
Count ( string tableName, bool dbconOpened ) : int
CountCondition ( string tableName, bool dbconOpened, string condition, string operand, string myValue ) : int
CreateDir ( ) : void
CreateFile ( ) : void
CreateTables ( bool server ) : void
Delete ( bool dbconOpened, string tableName, int uniqueID ) : void
DeleteFromAnInt ( bool dbconOpened, string tableName, string colName, int id ) : void
DeleteFromName ( bool dbconOpened, string tableName, string name ) : void
DeleteSelectingField ( bool dbconOpened, string tableName, string fieldName, string id ) : void
DeleteTempEvents ( string tableName ) : void
DisConnect ( ) : bool
Exists ( bool dbconOpened, string tableName, string findName ) : bool
IsSqlite3 ( ) : bool
Max ( string tableName, string column, bool dbconOpened ) : int
Open ( ) : void
PrintConversionRate ( ) : double
PrintConversionSubRate ( ) : double
PrintConversionText ( ) : string
PrintConversionVersion ( ) : double
PrintCreation ( ) : double
SQLBuildQueryString ( string tableName, string test, string variable, int sex, string ageInterval, int countryID, int sportID, int speciallityID, int levelID, int evaluatorID ) : string
Sqlite ( ) : System
TempDataExists ( string tableName ) : int
Update ( bool dbconOpened, string tableName, string columnName, string searchValue, string newValue, string columnNameCondition2, string searchValueCondition2 ) : void
saveClassState ( ) : void
setSqlFilePath ( string filePath ) : void

보호된 메소드들

메소드 설명
DataReaderToStringArray ( SqliteDataReader reader, int columns ) : string[]
alterTableColumn ( Sqlite sqliteObject, string tableName, int columns ) : void
closeIfNeeded ( bool dbconOpened ) : void
convertDJInDJna ( ) : void
convertPersonAndPersonSessionTo77 ( ) : void
convertTables ( Sqlite sqliteObject, string tableName, int columnsBefore, ArrayList columnsToAdd, bool putDescriptionInMiddle ) : void
createTable ( ) : void
createTable ( string tableName ) : void
datesToYYYYMMDD ( ) : void
deleteOrphanedPersons ( ) : void
deleteOrphanedPersonsOld ( ) : void
dropTable ( string tableName ) : void
fillIDDoubleList ( string selectStr ) : IDDoubleList,
fillIDNameList ( string selectStr ) : IDNameList,
openIfNeeded ( bool dbconOpened ) : void
selectDouble ( string sqlSelect ) : double

비공개 메소드들

메소드 설명
addChronopicPortNameIfNotExists ( ) : void
sqlite2SelectWorks ( ) : bool
sqlite3SelectWorks ( ) : bool
updateVersion ( string newVersion ) : string

메소드 상세

ChangeDjToDJna() 공개 정적인 메소드

public static ChangeDjToDJna ( ) : bool
리턴 bool

CheckFileServer() 공개 정적인 메소드

public static CheckFileServer ( ) : bool
리턴 bool

CheckTables() 공개 정적인 메소드

public static CheckTables ( bool defaultDBLocation ) : bool
defaultDBLocation bool
리턴 bool

Close() 공개 정적인 메소드

public static Close ( ) : void
리턴 void

Connect() 공개 정적인 메소드

public static Connect ( ) : bool
리턴 bool

ConnectBlank() 공개 정적인 메소드

public static ConnectBlank ( ) : void
리턴 void

ConnectServer() 공개 정적인 메소드

public static ConnectServer ( ) : void
리턴 void

ConvertFromSqlite2To3() 공개 정적인 메소드

public static ConvertFromSqlite2To3 ( ) : bool
리턴 bool

ConvertToLastChronojumpDBVersion() 공개 정적인 메소드

public static ConvertToLastChronojumpDBVersion ( ) : bool
리턴 bool

Count() 공개 정적인 메소드

public static Count ( string tableName, bool dbconOpened ) : int
tableName string
dbconOpened bool
리턴 int

CountCondition() 공개 정적인 메소드

public static CountCondition ( string tableName, bool dbconOpened, string condition, string operand, string myValue ) : int
tableName string
dbconOpened bool
condition string
operand string
myValue string
리턴 int

CreateDir() 공개 정적인 메소드

public static CreateDir ( ) : void
리턴 void

CreateFile() 공개 정적인 메소드

public static CreateFile ( ) : void
리턴 void

CreateTables() 공개 정적인 메소드

public static CreateTables ( bool server ) : void
server bool
리턴 void

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

protected static DataReaderToStringArray ( SqliteDataReader reader, int columns ) : string[]
reader Mono.Data.Sqlite.SqliteDataReader
columns int
리턴 string[]

Delete() 공개 정적인 메소드

public static Delete ( bool dbconOpened, string tableName, int uniqueID ) : void
dbconOpened bool
tableName string
uniqueID int
리턴 void

DeleteFromAnInt() 공개 정적인 메소드

public static DeleteFromAnInt ( bool dbconOpened, string tableName, string colName, int id ) : void
dbconOpened bool
tableName string
colName string
id int
리턴 void

DeleteFromName() 공개 정적인 메소드

public static DeleteFromName ( bool dbconOpened, string tableName, string name ) : void
dbconOpened bool
tableName string
name string
리턴 void

DeleteSelectingField() 공개 정적인 메소드

public static DeleteSelectingField ( bool dbconOpened, string tableName, string fieldName, string id ) : void
dbconOpened bool
tableName string
fieldName string
id string
리턴 void

DeleteTempEvents() 공개 정적인 메소드

public static DeleteTempEvents ( string tableName ) : void
tableName string
리턴 void

DisConnect() 공개 정적인 메소드

public static DisConnect ( ) : bool
리턴 bool

Exists() 공개 정적인 메소드

public static Exists ( bool dbconOpened, string tableName, string findName ) : bool
dbconOpened bool
tableName string
findName string
리턴 bool

IsSqlite3() 공개 정적인 메소드

public static IsSqlite3 ( ) : bool
리턴 bool

Max() 공개 정적인 메소드

public static Max ( string tableName, string column, bool dbconOpened ) : int
tableName string
column string
dbconOpened bool
리턴 int

Open() 공개 정적인 메소드

public static Open ( ) : void
리턴 void

PrintConversionRate() 공개 정적인 메소드

public static PrintConversionRate ( ) : double
리턴 double

PrintConversionSubRate() 공개 정적인 메소드

public static PrintConversionSubRate ( ) : double
리턴 double

PrintConversionText() 공개 정적인 메소드

public static PrintConversionText ( ) : string
리턴 string

PrintConversionVersion() 공개 정적인 메소드

public static PrintConversionVersion ( ) : double
리턴 double

PrintCreation() 공개 정적인 메소드

public static PrintCreation ( ) : double
리턴 double

SQLBuildQueryString() 공개 정적인 메소드

public static SQLBuildQueryString ( string tableName, string test, string variable, int sex, string ageInterval, int countryID, int sportID, int speciallityID, int levelID, int evaluatorID ) : string
tableName string
test string
variable string
sex int
ageInterval string
countryID int
sportID int
speciallityID int
levelID int
evaluatorID int
리턴 string

Sqlite() 공개 메소드

public Sqlite ( ) : System
리턴 System

TempDataExists() 공개 정적인 메소드

public static TempDataExists ( string tableName ) : int
tableName string
리턴 int

Update() 공개 정적인 메소드

public static Update ( bool dbconOpened, string tableName, string columnName, string searchValue, string newValue, string columnNameCondition2, string searchValueCondition2 ) : void
dbconOpened bool
tableName string
columnName string
searchValue string
newValue string
columnNameCondition2 string
searchValueCondition2 string
리턴 void

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

protected static alterTableColumn ( Sqlite sqliteObject, string tableName, int columns ) : void
sqliteObject Sqlite
tableName string
columns int
리턴 void

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

protected static closeIfNeeded ( bool dbconOpened ) : void
dbconOpened bool
리턴 void

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

protected static convertDJInDJna ( ) : void
리턴 void

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

protected static convertPersonAndPersonSessionTo77 ( ) : void
리턴 void

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

protected static convertTables ( Sqlite sqliteObject, string tableName, int columnsBefore, ArrayList columnsToAdd, bool putDescriptionInMiddle ) : void
sqliteObject Sqlite
tableName string
columnsBefore int
columnsToAdd ArrayList
putDescriptionInMiddle bool
리턴 void

createTable() 보호된 메소드

protected createTable ( ) : void
리턴 void

createTable() 보호된 메소드

protected createTable ( string tableName ) : void
tableName string
리턴 void

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

protected static datesToYYYYMMDD ( ) : void
리턴 void

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

protected static deleteOrphanedPersons ( ) : void
리턴 void

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

protected static deleteOrphanedPersonsOld ( ) : void
리턴 void

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

protected static dropTable ( string tableName ) : void
tableName string
리턴 void

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

protected static fillIDDoubleList ( string selectStr ) : IDDoubleList,
selectStr string
리턴 IDDoubleList,

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

protected static fillIDNameList ( string selectStr ) : IDNameList,
selectStr string
리턴 IDNameList,

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

protected static openIfNeeded ( bool dbconOpened ) : void
dbconOpened bool
리턴 void

saveClassState() 공개 정적인 메소드

public static saveClassState ( ) : void
리턴 void

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

protected static selectDouble ( string sqlSelect ) : double
sqlSelect string
리턴 double

setSqlFilePath() 공개 정적인 메소드

public static setSqlFilePath ( string filePath ) : void
filePath string
리턴 void

프로퍼티 상세

IsOpened 공개적으로 정적으로 프로퍼티

public static bool IsOpened
리턴 bool

SafeClose 공개적으로 정적으로 프로퍼티

public static bool SafeClose
리턴 bool

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

protected static int conversionSubRate
리턴 int

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

protected static int conversionSubRateTotal
리턴 int

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

protected static SqliteCommand,Mono.Data.Sqlite dbcmd
리턴 Mono.Data.Sqlite.SqliteCommand

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

protected static SqliteConnection,Mono.Data.Sqlite dbcon
리턴 Mono.Data.Sqlite.SqliteConnection

sqlFileServer 공개적으로 정적으로 프로퍼티

public static string sqlFileServer
리턴 string