| IdeaBlade.Linq Assembly > IdeaBlade.Linq Namespace > ProjectionSelector Class : Combine Method |
'DeclarationPublic Shared Function Combine( _ ByVal selectors As IEnumerable(Of IProjectionSelector) _ ) As AnonymousProjectionSelector
'UsageDim selectors As IEnumerable(Of IProjectionSelector) Dim value As AnonymousProjectionSelector value = ProjectionSelector.Combine(selectors)
public static AnonymousProjectionSelector Combine( IEnumerable<IProjectionSelector> selectors )
var entityType = typeof(Customer); var rootQuery = EntityQuery.Create(entityType, _entityManager); var pps = ProjectionSelector.Combine(new[] { new ProjectionSelector(entityType, "City", "City"), new ProjectionSelector(entityType, "PostalCode", "PostalCode") }); var results = rootQuery.Select(pps).Execute();
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2