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
- ReversePositionQuery.cs
- ProfileModule.cs
- StagingAreaInputItem.cs
- SafeFileMappingHandle.cs
- XmlSchemaAll.cs
- RequestCacheManager.cs
- ProxyAttribute.cs
- Listbox.cs
- WsatProxy.cs
- MetadataArtifactLoaderFile.cs
- WindowsTab.cs
- TimeSpanOrInfiniteConverter.cs
- WebBrowserBase.cs
- TextEndOfSegment.cs
- OperatingSystemVersionCheck.cs
- HTMLTagNameToTypeMapper.cs
- SRDisplayNameAttribute.cs
- TransactionManagerProxy.cs
- ListParaClient.cs
- DesignerWidgets.cs
- XmlCompatibilityReader.cs
- ListViewGroupItemCollection.cs
- PkcsMisc.cs
- DbDataSourceEnumerator.cs
- PerformanceCounterCategory.cs
- RelationshipEndMember.cs
- OciLobLocator.cs
- PrinterResolution.cs
- GridView.cs
- DefaultValueAttribute.cs
- DSASignatureDeformatter.cs
- SettingsBase.cs
- AssertFilter.cs
- XsdCachingReader.cs
- HashCodeCombiner.cs
- DataGridViewCheckBoxCell.cs
- SwitchLevelAttribute.cs
- LinearKeyFrames.cs
- EditorBrowsableAttribute.cs
- SplayTreeNode.cs
- MSAANativeProvider.cs
- VisualStyleTypesAndProperties.cs
- ConfigsHelper.cs
- SecurityContext.cs
- ProtectedProviderSettings.cs
- DBSqlParserColumnCollection.cs
- _StreamFramer.cs
- SecurityException.cs
- HyperLink.cs
- BindableAttribute.cs
- PointLightBase.cs
- HtmlHistory.cs
- DbResourceAllocator.cs
- InteropExecutor.cs
- RuntimeConfigLKG.cs
- ReservationCollection.cs
- ComponentResourceKey.cs
- ThreadAttributes.cs
- ValidationHelpers.cs
- CollectionChangedEventManager.cs
- TypedElement.cs
- EmptyCollection.cs
- ScriptResourceAttribute.cs
- SrgsOneOf.cs
- TextBlockAutomationPeer.cs
- TemplateField.cs
- BamlVersionHeader.cs
- ImageIndexConverter.cs
- XamlWrappingReader.cs
- ArithmeticLiteral.cs
- ProxyWebPartConnectionCollection.cs
- DictionaryEntry.cs
- WebPartConnectionsConnectVerb.cs
- WinInetCache.cs
- ListView.cs
- AttributeTable.cs
- StylusCaptureWithinProperty.cs
- AdapterUtil.cs
- AdjustableArrowCap.cs
- OptionalRstParameters.cs
- WindowsStartMenu.cs
- PackWebRequest.cs
- MachineKeyValidationConverter.cs
- OleDbConnection.cs
- PolicyChain.cs
- cookiecollection.cs
- XmlDataCollection.cs
- cookie.cs
- NativeMethods.cs
- CssTextWriter.cs
- ReceiveContext.cs
- DataRowView.cs
- TimeStampChecker.cs
- ExpressionsCollectionEditor.cs
- HttpValueCollection.cs
- SuppressIldasmAttribute.cs
- XmlLoader.cs
- CellParagraph.cs
- StaticContext.cs
- DocumentViewerBaseAutomationPeer.cs