次の関数では、次のような値を返そうとするとエラーが発生します。
System.Linq.IQueryable<System.Collections.Generic.IEnumerable<string>>
戻り型に変換できませんSystem.Collections.Generic.IEnumerable<string>
public IEnumerable<string> GetModuleKindPropertyNames(long moduleKindId)
{
var configurationId = GetModuleKindPertypeConfigurationId(moduleKindId);
var propertyNames = _dbSis.ModuleKinds
.Where(t => t.PerTypeConfigurationId == configurationId)
.Select(x => x.PerTypeConfiguration.Properties
.Select(z => z.Name));
return propertyNames; //red line below property names
}
この問題を解決するにはどうすればよいですか?