Esempio n. 1
0
        private void InitCharacterAppearanceData()
        {
            var database = SQLMgr.S.Open("Game");
            var reader   = database.LoadTable("CharacterAppearance");

            while (reader.Read())
            {
                TDCharacterAppearanceTable.OnAddRow(reader);
            }
        }
Esempio n. 2
0
        private void ReadTable(TDSqlMetaData metaData)
        {
            var database = SQLMgr.S.Open(metaData.databaseName);
            var reader   = database.LoadTable(metaData.tableName);

            while (reader.Read())
            {
                TDCharacterAppearanceTable.OnAddRow(reader);
            }
        }