public static void LoadFIXGroups(IDbConnection connection, FIXGroupList groups, string table) { IDbCommand command = connection.CreateCommand(); command.CommandText = string.Format("command 12234", (object)table); IDataReader dataReader = command.ExecuteReader(); while (dataReader.Read()) { dataReader.GetInt32(0); dataReader.GetInt32(1); int int32_1 = dataReader.GetInt32(2); int int32_2 = dataReader.GetInt32(3); int int32_3 = dataReader.GetInt32(4); string @string = dataReader.GetString(5); if (int32_3 != -1 && int32_3 != 55) { FIXField field = FIXField.Field((FIXType)int32_2, int32_3, @string, true); groups.GetById(int32_1).AddField(field); } } dataReader.Close(); command.Dispose(); }