Ejemplo n.º 1
0
 public static List<CodeMaster> GetMatchModeList()
 {
     return database.find("select id, name from match_modes order by id;"
         , (reader) => {
             var entity = new CodeMaster();
             entity.Code = reader[0].ToString();
             entity.Name = reader[1].ToString();
             return entity;
         }
     );
 }
Ejemplo n.º 2
0
 public static List<CodeMaster> GetBattleSystemList()
 {
     return database.find("select id, name from battle_systems order by id;"
         , (reader) => {
             var entity = new CodeMaster();
             entity.Code = reader[0].ToString();
             entity.Name = reader[1].ToString();
             return entity;
         }
     );
 }