C# Class FreakOut.classes.DatabaseConnector

ファイルを表示 Open project: henryford/FreakOut Class Usage Examples

Public Methods

Method Description
AllGames ( ) : List
AllGamesByPlatform ( string Platform ) : List
AllWantedGames ( ) : List
CleanCache ( ) : void
CloseConnection ( ) : void
DatabaseConnector ( Logger Logfacility ) : System
DeleteGame ( Game GameToDelete ) : bool
DisablePlatform ( int gamedbid ) : void
EnablePlatform ( int gamedbid ) : void
FillDataTable ( ) : DataTable
GameIsDownloaded ( int GameID ) : bool
GetGame ( int GameID ) : Game
GetGame ( string GameName ) : Game
GetPlatformID ( string PlatformName ) : int
GetSettingByName ( string SettingName ) : string
InitializeCache ( ) : void
InsertGame ( Game GameToInsert ) : int
IsPlatformDisabled ( int gamedbid ) : bool
MarkGameDownloaded ( int GameID ) : void
MarkGameSnatched ( int GameID ) : void
MarkGameUndownloaded ( int GameID ) : void
MarkGameUnsnatched ( int GameID ) : void
MarkGameUnwanted ( int GameID ) : void
MarkGameWanted ( int GameID ) : void
PlatformID ( string NameOfPlatform ) : int
PurgeCache ( ) : void
SearchForGame ( string GameName ) : List
SetInstallPath ( int GameID, string InstallPath ) : void
SetSettingByName ( string SettingName, string Content ) : void
SetTGDBID ( Game GameToUpdate ) : bool
UpdateGame ( Game GameToUpdate ) : bool

Private Methods

Method Description
InitializeDatabase ( ) : void

Method Details

AllGames() public method

public AllGames ( ) : List
return List

AllGamesByPlatform() public method

public AllGamesByPlatform ( string Platform ) : List
Platform string
return List

AllWantedGames() public method

public AllWantedGames ( ) : List
return List

CleanCache() public method

public CleanCache ( ) : void
return void

CloseConnection() public method

public CloseConnection ( ) : void
return void

DatabaseConnector() public method

public DatabaseConnector ( Logger Logfacility ) : System
Logfacility Logger
return System

DeleteGame() public method

public DeleteGame ( Game GameToDelete ) : bool
GameToDelete Game
return bool

DisablePlatform() public method

public DisablePlatform ( int gamedbid ) : void
gamedbid int
return void

EnablePlatform() public method

public EnablePlatform ( int gamedbid ) : void
gamedbid int
return void

FillDataTable() public method

public FillDataTable ( ) : DataTable
return System.Data.DataTable

GameIsDownloaded() public method

public GameIsDownloaded ( int GameID ) : bool
GameID int
return bool

GetGame() public method

public GetGame ( int GameID ) : Game
GameID int
return Game

GetGame() public method

public GetGame ( string GameName ) : Game
GameName string
return Game

GetPlatformID() public method

public GetPlatformID ( string PlatformName ) : int
PlatformName string
return int

GetSettingByName() public method

public GetSettingByName ( string SettingName ) : string
SettingName string
return string

InitializeCache() public method

public InitializeCache ( ) : void
return void

InsertGame() public method

public InsertGame ( Game GameToInsert ) : int
GameToInsert Game
return int

IsPlatformDisabled() public method

public IsPlatformDisabled ( int gamedbid ) : bool
gamedbid int
return bool

MarkGameDownloaded() public method

public MarkGameDownloaded ( int GameID ) : void
GameID int
return void

MarkGameSnatched() public method

public MarkGameSnatched ( int GameID ) : void
GameID int
return void

MarkGameUndownloaded() public method

public MarkGameUndownloaded ( int GameID ) : void
GameID int
return void

MarkGameUnsnatched() public method

public MarkGameUnsnatched ( int GameID ) : void
GameID int
return void

MarkGameUnwanted() public method

public MarkGameUnwanted ( int GameID ) : void
GameID int
return void

MarkGameWanted() public method

public MarkGameWanted ( int GameID ) : void
GameID int
return void

PlatformID() public method

public PlatformID ( string NameOfPlatform ) : int
NameOfPlatform string
return int

PurgeCache() public method

public PurgeCache ( ) : void
return void

SearchForGame() public method

public SearchForGame ( string GameName ) : List
GameName string
return List

SetInstallPath() public method

public SetInstallPath ( int GameID, string InstallPath ) : void
GameID int
InstallPath string
return void

SetSettingByName() public method

public SetSettingByName ( string SettingName, string Content ) : void
SettingName string
Content string
return void

SetTGDBID() public method

public SetTGDBID ( Game GameToUpdate ) : bool
GameToUpdate Game
return bool

UpdateGame() public method

public UpdateGame ( Game GameToUpdate ) : bool
GameToUpdate Game
return bool