Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / xsp / System / Extensions / UI / WebControls / DynamicQueryableWrapper.cs / 1305376 / DynamicQueryableWrapper.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- #if ORYX_VNEXT namespace Microsoft.Web.Data.UI.WebControls { using Microsoft.Web.Query.Dynamic; #else namespace System.Web.UI.WebControls { using System.Web.Query.Dynamic; #endif using System.Linq; internal class DynamicQueryableWrapper : IDynamicQueryable { public IQueryable Where(IQueryable source, string predicate, params object[] values) { return DynamicQueryable.Where(source, predicate, values); } public IQueryable Select(IQueryable source, string selector, params object[] values) { return DynamicQueryable.Select(source, selector, values); } public IQueryable OrderBy(IQueryable source, string ordering, params object[] values) { return DynamicQueryable.OrderBy(source, ordering, values); } public IQueryable Take(IQueryable source, int count) { return DynamicQueryable.Take(source, count); } public IQueryable Skip(IQueryable source, int count) { return DynamicQueryable.Skip(source, count); } public IQueryable GroupBy(IQueryable source, string keySelector, string elementSelector, params object[] values) { return DynamicQueryable.GroupBy(source, keySelector, elementSelector, values ); } public int Count(IQueryable source) { return DynamicQueryable.Count(source); } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- TraceLog.cs
- AccessedThroughPropertyAttribute.cs
- SecurityTokenTypes.cs
- MonthChangedEventArgs.cs
- PromptBuilder.cs
- XslTransform.cs
- DiscoveryEndpointElement.cs
- TextSyndicationContent.cs
- HierarchicalDataBoundControlAdapter.cs
- XmlNodeWriter.cs
- Unit.cs
- SessionStateUtil.cs
- EndpointAddress.cs
- PersistenceParticipant.cs
- X500Name.cs
- DrawingContextDrawingContextWalker.cs
- RegexWriter.cs
- DecimalConverter.cs
- SizeAnimation.cs
- ToolStripDropDownMenu.cs
- ValidationEventArgs.cs
- ReadOnlyDataSource.cs
- Vector3DAnimationBase.cs
- HttpRawResponse.cs
- XmlLinkedNode.cs
- PreloadedPackages.cs
- SimpleTypeResolver.cs
- NavigationHelper.cs
- UpdatePanelTriggerCollection.cs
- SoapProtocolImporter.cs
- PermissionRequestEvidence.cs
- TypedTableHandler.cs
- GetWorkflowTree.cs
- XmlSchemaSimpleType.cs
- FormViewInsertedEventArgs.cs
- Authorization.cs
- HttpRequestCacheValidator.cs
- ResourceManager.cs
- SqlConnectionStringBuilder.cs
- CellQuery.cs
- XmlElementCollection.cs
- RenderTargetBitmap.cs
- DbDataReader.cs
- ForceCopyBuildProvider.cs
- InkCanvas.cs
- ListenerSessionConnection.cs
- SafeRegistryHandle.cs
- DynamicDataRouteHandler.cs
- BitmapVisualManager.cs
- OrderingInfo.cs
- sitestring.cs
- HandlerFactoryWrapper.cs
- GCHandleCookieTable.cs
- DbProviderFactories.cs
- DictionaryCustomTypeDescriptor.cs
- Header.cs
- ServiceOperation.cs
- QueryOperator.cs
- AutomationPeer.cs
- ContentValidator.cs
- CodeDomSerializerException.cs
- RelationshipConverter.cs
- DocumentGridPage.cs
- ApplicationSecurityManager.cs
- Matrix.cs
- TextTreeText.cs
- VariableQuery.cs
- KeyGesture.cs
- DataGridrowEditEndingEventArgs.cs
- InvalidProgramException.cs
- Viewport3DAutomationPeer.cs
- BezierSegment.cs
- SimpleApplicationHost.cs
- Literal.cs
- CodeAttributeArgument.cs
- TreeNodeClickEventArgs.cs
- ServiceNameElementCollection.cs
- SupportingTokenProviderSpecification.cs
- IItemContainerGenerator.cs
- DataException.cs
- StringReader.cs
- TableTextElementCollectionInternal.cs
- BaseCodeDomTreeGenerator.cs
- ParameterCollectionEditor.cs
- XmlEntityReference.cs
- LongAverageAggregationOperator.cs
- CompareInfo.cs
- PromptEventArgs.cs
- UnicastIPAddressInformationCollection.cs
- HttpAsyncResult.cs
- SafeNativeMemoryHandle.cs
- RecipientServiceModelSecurityTokenRequirement.cs
- TextElementCollectionHelper.cs
- Win32PrintDialog.cs
- ImmutableCollection.cs
- FormatSettings.cs
- _IPv6Address.cs
- MaxMessageSizeStream.cs
- elementinformation.cs
- FormViewPagerRow.cs