private void LoadLocalizedCommandHelp() { var db = SchumixBase.DManager.Query("SELECT Id, Language, Command, Rank, Text FROM localized_command_help"); if (!db.IsNull()) { foreach (DataRow row in db.Rows) { var map = new LocalizedCommandHelp(); map.Id = row["Id"].ToInt32(); map.Language = row["Language"].ToString(); map.Command = row["Command"].ToString(); map.Rank = row["Rank"].ToInt32(); map.Text = row["Text"].ToString(); _LocalizedCommandHelpMap.Add(map.Language + map.Command, map); } } }
private void LoadLocalizedCommandHelp() { var db = SchumixBase.DManager.Query("SELECT Id, Language, Command, Rank, Text FROM localized_command_help"); if(!db.IsNull()) { foreach(DataRow row in db.Rows) { var map = new LocalizedCommandHelp(); map.Id = row["Id"].ToInt32(); map.Language = row["Language"].ToString(); map.Command = row["Command"].ToString(); map.Rank = row["Rank"].ToInt32(); map.Text = row["Text"].ToString(); _LocalizedCommandHelpMap.Add(map.Language + map.Command, map); } } }