private static IEnumerable <DesignModuleInfo> GetModuleInfosForDesignSection( SQLiteConnection db, DesignSectionInfo designSection) { foreach (Row row in db.ExecuteTableQuery(string.Format(Queries.GetDesignModuleInfos, (object)designSection.ID.ToSQLiteValue()), true)) { yield return(DesignsCache.GetDesignModuleInfoFromRow(db, row, designSection)); } }