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
- TabControlEvent.cs
- TransformValueSerializer.cs
- XmlException.cs
- PreviewPageInfo.cs
- Label.cs
- SendingRequestEventArgs.cs
- UserControlParser.cs
- LinkedResource.cs
- InvalidDataException.cs
- DesignerLoader.cs
- FontClient.cs
- Control.cs
- AppliesToBehaviorDecisionTable.cs
- StorageRoot.cs
- RegisteredHiddenField.cs
- FormatterServices.cs
- FactoryMaker.cs
- ParentUndoUnit.cs
- DataKey.cs
- ImageUrlEditor.cs
- VirtualPathProvider.cs
- _TLSstream.cs
- CodeTypeDeclaration.cs
- ToolBar.cs
- Main.cs
- Debugger.cs
- ObjectStateManager.cs
- TextElementCollection.cs
- ButtonFieldBase.cs
- XmlRootAttribute.cs
- AdornerLayer.cs
- TableCell.cs
- FastPropertyAccessor.cs
- ButtonColumn.cs
- UInt32Storage.cs
- SelectionHighlightInfo.cs
- PropertyMappingExceptionEventArgs.cs
- XmlIgnoreAttribute.cs
- GenerateScriptTypeAttribute.cs
- Msmq4PoisonHandler.cs
- Base64Stream.cs
- FileSystemEnumerable.cs
- SqlConnectionManager.cs
- MouseDevice.cs
- LineUtil.cs
- EntityDataSourceChangingEventArgs.cs
- Automation.cs
- PartialClassGenerationTask.cs
- EnumValAlphaComparer.cs
- CodeSnippetTypeMember.cs
- PointHitTestResult.cs
- WindowInteractionStateTracker.cs
- HtmlTableRow.cs
- CodeCommentStatementCollection.cs
- QilIterator.cs
- InkCanvasAutomationPeer.cs
- ParserStreamGeometryContext.cs
- CngAlgorithmGroup.cs
- HttpCachePolicyWrapper.cs
- XmlSchemaAnyAttribute.cs
- PtsHost.cs
- TextTreeTextBlock.cs
- NamedPipeProcessProtocolHandler.cs
- BaseCodePageEncoding.cs
- WindowsGrip.cs
- EntitySetBase.cs
- TargetException.cs
- UpdatePanelControlTrigger.cs
- SetStoryboardSpeedRatio.cs
- FontCacheLogic.cs
- RequestSecurityTokenForGetBrowserToken.cs
- QilReplaceVisitor.cs
- InstanceData.cs
- SqlDataSource.cs
- ColumnClickEvent.cs
- AmbientLight.cs
- PlainXmlWriter.cs
- DomainUpDown.cs
- ClientConfigurationSystem.cs
- UrlAuthorizationModule.cs
- RangeBaseAutomationPeer.cs
- SEHException.cs
- ToolboxComponentsCreatedEventArgs.cs
- ComAdminWrapper.cs
- ToolBarButton.cs
- Array.cs
- ScalarType.cs
- NotFiniteNumberException.cs
- BaseUriWithWildcard.cs
- ComponentCache.cs
- SiteMapNodeCollection.cs
- XmlElement.cs
- Point3DAnimationBase.cs
- ChangePassword.cs
- HostingEnvironmentSection.cs
- HttpCachePolicy.cs
- DocumentSequenceHighlightLayer.cs
- PageContentAsyncResult.cs
- ScriptReferenceBase.cs
- Underline.cs