単純な文字列を返すselectがEntitySQLにあり、文字列に連結する必要があります。
select (p.X + p.Y) from ExampleEntities.ExampleTable as p
group by p.X, p.Y
たとえば、3つの文字列を返すので、1つの文字列に連結する必要があります。
単純な文字列を返すselectがEntitySQLにあり、文字列に連結する必要があります。
select (p.X + p.Y) from ExampleEntities.ExampleTable as p
group by p.X, p.Y
たとえば、3つの文字列を返すので、1つの文字列に連結する必要があります。
すべての行を連結するか、行ごとに連結するかはわかりませんが、これは行ごとのソリューションです。
from p in ExampleEntities.ExampleTable
select string.Concat(p.X, p.Y, p.Z)
単一の結果が必要な場合は、次のものが必要です。
var temp = (from p in ExampleEntities.ExampleTable
select string.Concat(p.X, p.Y, p.Z)).ToList();
string result = temp.Aggregate((current, next) => current + next);