or
team.TeamMembers.Where(o => o.TeamId == team.ID).Select(i => i.Member.Name).Aggregate((x, y) => x + y)
An error has occurred while processing Report 'TeamFollowUp': An error occurred while invoking data retrieval method. Try restarting VisualStudio.
------------- InnerException -------------
Exception has been thrown by the target of an invocation.
------------- InnerException -------------
LINQ to Entities does not recognize the method 'System.String Aggregate[String](System.Collections.Generic.IEnumerable`1[System.String], System.Func`3[System.String,System.String,System.String])' method, and this method cannot be translated into a store expression.
<
Window
xmlns:tr
=
"http://schemas.telerik.com/wpf"
x:Class
=
"tests.MainWindow"
Title
=
"MainWindow"
Height
=
"350"
Width
=
"525"
>
<
Grid
>
<
tr:ReportViewer
Margin
=
"33,23,40,22"
/>
</
Grid
>
</
Window
>
using
System;
using
System.Collections.Generic;
using
System.Linq;
using
System.Text;
using
System.Windows;
using
System.Windows.Controls;
using
System.Windows.Data;
using
System.Windows.Documents;
using
System.Windows.Input;
using
System.Windows.Media;
using
System.Windows.Media.Imaging;
using
System.Windows.Navigation;
using
System.Windows.Shapes;
namespace
tests
{
/// <summary>
/// MainWindow.xaml /// </summary>
public
partial
class
MainWindow : Window
{
public
MainWindow()
{
InitializeComponent();
}
}
}
Date | line | |
page1 | 4/17/2013 | 1 |
2 | ||
3 | ||
page2 | 4 | |
5 | ||
6 |
Date | line | |
page1 | 4/17/2013 | 1 |
2 | ||
3 | ||
page2 | 4/17/2013 | 4 |
5 | ||
6 |