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
- StringInfo.cs
- OracleFactory.cs
- PropertyEntry.cs
- SnapLine.cs
- KnownTypesHelper.cs
- WindowsAuthenticationEventArgs.cs
- MonitorWrapper.cs
- ListDataBindEventArgs.cs
- DrawItemEvent.cs
- PackageDigitalSignatureManager.cs
- CurrencyWrapper.cs
- OperatingSystemVersionCheck.cs
- OracleLob.cs
- EventHandlerService.cs
- XmlSchemaComplexType.cs
- Int32Converter.cs
- PeerInvitationResponse.cs
- EditorServiceContext.cs
- XmlSerializationGeneratedCode.cs
- CodeFieldReferenceExpression.cs
- VectorConverter.cs
- TextRangeEditLists.cs
- SuppressIldasmAttribute.cs
- SqlInternalConnectionTds.cs
- DataTableClearEvent.cs
- UpdateCommand.cs
- MediaTimeline.cs
- ConfigurationSectionHelper.cs
- RequestCacheEntry.cs
- ToolboxItemAttribute.cs
- KnownBoxes.cs
- DelimitedListTraceListener.cs
- XmlQueryCardinality.cs
- ValueType.cs
- _BufferOffsetSize.cs
- GenericUriParser.cs
- control.ime.cs
- FileDialogCustomPlace.cs
- ImageListStreamer.cs
- GeneralTransform3DTo2D.cs
- SmiEventSink_DeferedProcessing.cs
- SpnEndpointIdentityExtension.cs
- EncoderExceptionFallback.cs
- SqlAggregateChecker.cs
- NativeMethods.cs
- BitmapFrameDecode.cs
- EntityProxyTypeInfo.cs
- StylusPointPropertyId.cs
- ExtendedPropertyDescriptor.cs
- ISO2022Encoding.cs
- ExtractorMetadata.cs
- ReliableChannelBinder.cs
- HttpModuleAction.cs
- SrgsGrammar.cs
- DataGridViewColumnConverter.cs
- MgmtConfigurationRecord.cs
- HtmlInputHidden.cs
- BitmapInitialize.cs
- BindingParameterCollection.cs
- SystemWebSectionGroup.cs
- CngUIPolicy.cs
- FactoryId.cs
- Compiler.cs
- ZipPackage.cs
- ComponentDispatcher.cs
- XmlDownloadManager.cs
- DataSourceHelper.cs
- QilDataSource.cs
- HighlightComponent.cs
- ComPlusAuthorization.cs
- ColorConverter.cs
- DataColumnChangeEvent.cs
- ObjectDataSource.cs
- Metadata.cs
- ComEventsInfo.cs
- SafeNativeMethods.cs
- DataGridViewUtilities.cs
- State.cs
- SafeNativeMethods.cs
- ElementNotEnabledException.cs
- QuaternionKeyFrameCollection.cs
- SqlUtils.cs
- PropertyEmitter.cs
- CanonicalizationDriver.cs
- JournalEntryListConverter.cs
- InputDevice.cs
- TreeView.cs
- XmlSignificantWhitespace.cs
- VirtualizingStackPanel.cs
- WpfWebRequestHelper.cs
- DataGridTableCollection.cs
- FlagsAttribute.cs
- MaskDesignerDialog.cs
- CompiledAction.cs
- PersonalizableTypeEntry.cs
- HtmlControl.cs
- PriorityItem.cs
- Stylus.cs
- PolyLineSegment.cs
- EnumBuilder.cs