Code:
/ DotNET / DotNET / 8.0 / untmp / Orcas / RTM / ndp / fx / src / xsp / System / Web / Extensions / ui / webcontrols / DynamicQueryableWrapper.cs / 1 / DynamicQueryableWrapper.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.UI.WebControls { using System.Linq; using System.Web.Query.Dynamic; 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. // Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- XmlQualifiedName.cs
- FontWeightConverter.cs
- HttpHeaderCollection.cs
- TextPattern.cs
- Attributes.cs
- NotCondition.cs
- TraceSource.cs
- FileChangesMonitor.cs
- UseAttributeSetsAction.cs
- OdbcErrorCollection.cs
- ObfuscationAttribute.cs
- SchemaImporter.cs
- CompareValidator.cs
- PartitionedStream.cs
- ListViewGroup.cs
- httpserverutility.cs
- CacheMemory.cs
- ProfileModule.cs
- BuilderInfo.cs
- PlainXmlDeserializer.cs
- BorderSidesEditor.cs
- ToolStripOverflow.cs
- XmlDataDocument.cs
- ToolboxItem.cs
- TextSearch.cs
- ResourceDefaultValueAttribute.cs
- DisplayInformation.cs
- ObjectIDGenerator.cs
- TrustLevel.cs
- TransformedBitmap.cs
- RoleGroupCollection.cs
- ListDictionaryInternal.cs
- TraceHandlerErrorFormatter.cs
- WebConfigurationFileMap.cs
- VerificationAttribute.cs
- BaseProcessor.cs
- COM2PropertyDescriptor.cs
- VersionedStreamOwner.cs
- ReadWriteObjectLock.cs
- RegistryPermission.cs
- RepeaterCommandEventArgs.cs
- Win32.cs
- ExpressionBindings.cs
- ResXBuildProvider.cs
- BridgeDataRecord.cs
- XmlQueryOutput.cs
- CompilerErrorCollection.cs
- TextEditorCopyPaste.cs
- DataGridViewCellParsingEventArgs.cs
- DataGridViewHitTestInfo.cs
- HelloMessageCD1.cs
- StylusPointPropertyId.cs
- LabelExpression.cs
- CompilerTypeWithParams.cs
- ObjectDisposedException.cs
- Win32.cs
- Convert.cs
- _IPv6Address.cs
- ColumnResizeUndoUnit.cs
- PriorityChain.cs
- XmlSchemaAnnotated.cs
- StrongNameKeyPair.cs
- CodeDirectoryCompiler.cs
- MDIWindowDialog.cs
- LoginName.cs
- FixedTextSelectionProcessor.cs
- GeometryModel3D.cs
- ColorConvertedBitmapExtension.cs
- QueryCacheManager.cs
- NavigationHelper.cs
- MulticastNotSupportedException.cs
- DbConnectionPoolCounters.cs
- FileStream.cs
- TextRangeEditTables.cs
- NativeMethods.cs
- SponsorHelper.cs
- XPathAxisIterator.cs
- SafeCryptoHandles.cs
- ImageListStreamer.cs
- SQLDoubleStorage.cs
- XPathSelectionIterator.cs
- ToolBarOverflowPanel.cs
- AssemblyHash.cs
- SelectionItemProviderWrapper.cs
- QuotedPrintableStream.cs
- ObjectQuery.cs
- XpsPackagingException.cs
- NotFiniteNumberException.cs
- UiaCoreProviderApi.cs
- PropertyGridView.cs
- ButtonChrome.cs
- InitializerFacet.cs
- StaticFileHandler.cs
- DesignerAdapterAttribute.cs
- HttpVersion.cs
- DataColumnMapping.cs
- LocationUpdates.cs
- Label.cs
- xsdvalidator.cs
- ConnectionPoint.cs