Antura  1.1.0
Antura.Database.DatabaseObject Class Reference

Main entry point for learning data access. Holds all static input data on learning. More...

Inheritance diagram for Antura.Database.DatabaseObject:

Public Member Functions

bool HasTables ()
 
void LoadTables (string dbName)
 
List< T > FindAll< T > (SerializableDataTable< T > table, Predicate< T > predicate)
 
List< T > GetAll< T > (SerializableDataTable< T > table)
 
GetById< T > (SerializableDataTable< T > table, string id)
 
bool HasById< T > (SerializableDataTable< T > table, string id)
 
IEnumerable< List< IData > > GetAllData ()
 
LetterTable GetLetterTable ()
 
WordTable GetWordTable ()
 
PhraseTable GetPhraseTable ()
 
MiniGameTable GetMiniGameTable ()
 
StageTable GetStageTable ()
 
PlaySessionTable GetPlaySessionTable ()
 
LearningBlockTable GetLearningBlockTable ()
 
RewardTable GetRewardTable ()
 
LocalizationTable GetLocalizationTable ()
 
IData GetData (DbTables tables, string id)
 
IEnumerable< IDataTableGetAllTables ()
 
IDataTable GetTable (DbTables tables)
 

Static Public Member Functions

static DatabaseObject LoadDB (string staticDbNameToLoad)
 

Public Attributes

StageDatabase stageDb
 
PlaySessionDatabase playsessionDb
 
LearningBlockDatabase learningblockDb
 
MiniGameDatabase minigameDb
 
LetterDatabase letterDb
 
WordDatabase wordDb
 
PhraseDatabase phraseDb
 
LocalizationDatabase localizationDb
 
RewardDatabase rewardDb
 

Detailed Description

Main entry point for learning data access. Holds all static input data on learning.

Member Function Documentation

◆ FindAll< T >()

List<T> Antura.Database.DatabaseObject.FindAll< T > ( SerializableDataTable< T >  table,
Predicate< T >  predicate 
)
Type Constraints
T :IData 

◆ GetAll< T >()

List<T> Antura.Database.DatabaseObject.GetAll< T > ( SerializableDataTable< T >  table)
Type Constraints
T :IData 

◆ GetAllData()

IEnumerable<List<IData> > Antura.Database.DatabaseObject.GetAllData ( )

◆ GetAllTables()

IEnumerable<IDataTable> Antura.Database.DatabaseObject.GetAllTables ( )

◆ GetById< T >()

T Antura.Database.DatabaseObject.GetById< T > ( SerializableDataTable< T >  table,
string  id 
)
Type Constraints
T :IData 

◆ GetData()

IData Antura.Database.DatabaseObject.GetData ( DbTables  tables,
string  id 
)

◆ GetLearningBlockTable()

LearningBlockTable Antura.Database.DatabaseObject.GetLearningBlockTable ( )

◆ GetLetterTable()

LetterTable Antura.Database.DatabaseObject.GetLetterTable ( )

◆ GetLocalizationTable()

LocalizationTable Antura.Database.DatabaseObject.GetLocalizationTable ( )

◆ GetMiniGameTable()

MiniGameTable Antura.Database.DatabaseObject.GetMiniGameTable ( )

◆ GetPhraseTable()

PhraseTable Antura.Database.DatabaseObject.GetPhraseTable ( )

◆ GetPlaySessionTable()

PlaySessionTable Antura.Database.DatabaseObject.GetPlaySessionTable ( )

◆ GetRewardTable()

RewardTable Antura.Database.DatabaseObject.GetRewardTable ( )

◆ GetStageTable()

StageTable Antura.Database.DatabaseObject.GetStageTable ( )

◆ GetTable()

IDataTable Antura.Database.DatabaseObject.GetTable ( DbTables  tables)

◆ GetWordTable()

WordTable Antura.Database.DatabaseObject.GetWordTable ( )

◆ HasById< T >()

bool Antura.Database.DatabaseObject.HasById< T > ( SerializableDataTable< T >  table,
string  id 
)
Type Constraints
T :IData 

◆ HasTables()

bool Antura.Database.DatabaseObject.HasTables ( )

◆ LoadDB()

static DatabaseObject Antura.Database.DatabaseObject.LoadDB ( string  staticDbNameToLoad)
static

◆ LoadTables()

void Antura.Database.DatabaseObject.LoadTables ( string  dbName)

Member Data Documentation

◆ learningblockDb

LearningBlockDatabase Antura.Database.DatabaseObject.learningblockDb

◆ letterDb

LetterDatabase Antura.Database.DatabaseObject.letterDb

◆ localizationDb

LocalizationDatabase Antura.Database.DatabaseObject.localizationDb

◆ minigameDb

MiniGameDatabase Antura.Database.DatabaseObject.minigameDb

◆ phraseDb

PhraseDatabase Antura.Database.DatabaseObject.phraseDb

◆ playsessionDb

PlaySessionDatabase Antura.Database.DatabaseObject.playsessionDb

◆ rewardDb

RewardDatabase Antura.Database.DatabaseObject.rewardDb

◆ stageDb

StageDatabase Antura.Database.DatabaseObject.stageDb

◆ wordDb

WordDatabase Antura.Database.DatabaseObject.wordDb

The documentation for this class was generated from the following file: