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
- TextFormatterHost.cs
- IteratorDescriptor.cs
- PseudoWebRequest.cs
- AsymmetricKeyExchangeFormatter.cs
- uribuilder.cs
- NameValuePair.cs
- ToggleButtonAutomationPeer.cs
- IncrementalCompileAnalyzer.cs
- XmlComplianceUtil.cs
- StartUpEventArgs.cs
- DetailsViewUpdatedEventArgs.cs
- OracleConnection.cs
- TypeDescriptorContext.cs
- FontSourceCollection.cs
- SqlDataSourceFilteringEventArgs.cs
- SmiRequestExecutor.cs
- EncoderParameters.cs
- OuterGlowBitmapEffect.cs
- Visual.cs
- XmlEncodedRawTextWriter.cs
- ResolveMatchesApril2005.cs
- DBSchemaRow.cs
- TaskbarItemInfo.cs
- Grammar.cs
- TokenBasedSetEnumerator.cs
- DataServiceProviderWrapper.cs
- AspNetSynchronizationContext.cs
- TypefaceCollection.cs
- RangeValueProviderWrapper.cs
- ToolBarButton.cs
- TypeExtension.cs
- ThumbButtonInfo.cs
- Listbox.cs
- ValidateNames.cs
- UpdateProgress.cs
- EditorZone.cs
- entityreference_tresulttype.cs
- FlowPosition.cs
- Switch.cs
- NameSpaceExtractor.cs
- Array.cs
- ConstructorArgumentAttribute.cs
- Queue.cs
- RewritingPass.cs
- SevenBitStream.cs
- ImageSource.cs
- PassportAuthenticationEventArgs.cs
- EntityParameterCollection.cs
- DependencySource.cs
- ToolStripHighContrastRenderer.cs
- Models.cs
- AuthenticationModuleElementCollection.cs
- VirtualizingPanel.cs
- PictureBox.cs
- RequestBringIntoViewEventArgs.cs
- MemoryPressure.cs
- DirectoryGroupQuery.cs
- Visual3D.cs
- DataRelationPropertyDescriptor.cs
- ClientReliableChannelBinder.cs
- ToolStripPanelRow.cs
- DispatcherBuilder.cs
- SimpleRecyclingCache.cs
- BasicViewGenerator.cs
- ExpressionDumper.cs
- SqlProfileProvider.cs
- TemplateLookupAction.cs
- WinFormsSpinner.cs
- ZipIOExtraField.cs
- ImpersonationContext.cs
- DependencyObjectProvider.cs
- ActivityIdHeader.cs
- Vector.cs
- ErrorWrapper.cs
- WebEvents.cs
- CrossContextChannel.cs
- XPathSelfQuery.cs
- TTSEvent.cs
- DurableInstance.cs
- DesignerLabelAdapter.cs
- InputManager.cs
- DoubleConverter.cs
- Pkcs7Signer.cs
- BuildProviderCollection.cs
- DataGridColumnEventArgs.cs
- FormsAuthentication.cs
- HttpInputStream.cs
- Zone.cs
- CharacterHit.cs
- MenuAdapter.cs
- X509Certificate.cs
- CompoundFileStreamReference.cs
- _BufferOffsetSize.cs
- BinaryMethodMessage.cs
- CompiledXpathExpr.cs
- EndpointDiscoveryMetadata11.cs
- XmlCompatibilityReader.cs
- UnionExpr.cs
- FontFamily.cs
- XmlSerializerSection.cs