0
にSQLクエリ(UnionAggregate)を変換するにはどうすればそのLINQ
エンティティのバージョンで次のSQLクエリを変換したい:Collection.Concatが提供するすべての機能LINQ組合でLINQは - LINQ
select
geometry::UnionAggregate(geometries.GeometryBounds)
from
(select
GeometryBounds
from
Province where id in (1, 2)
union all
select
GeometryBounds
from
Region where id in (1, 2)
union all
select
GeometryBounds
from
Country where id in (1, 2)
) as geometries
http://stackoverflow.com/questions/8394111/how-to-convert-sql-query-with-unions-to-linq – FakeisMe
MSDNを参照してください。https://code.msdn.microsoft.com/101-LINQ-Samples-3fb9811b – jdweng
@FakeisMe私がしようとしているのは、SqlGeometriesのUnionAggregateが未加工組合ではなく、ありがとうございます。 – antobonfiglio