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
- PropertyIDSet.cs
- InvalidOleVariantTypeException.cs
- MessageQueue.cs
- PeerNameResolver.cs
- ImageCodecInfoPrivate.cs
- Light.cs
- MissingSatelliteAssemblyException.cs
- VectorCollectionConverter.cs
- TypeDependencyAttribute.cs
- WebAdminConfigurationHelper.cs
- StructuredTypeEmitter.cs
- WCFBuildProvider.cs
- EntityObject.cs
- InputScopeAttribute.cs
- RecognizeCompletedEventArgs.cs
- SpecialTypeDataContract.cs
- HwndSource.cs
- ObjectManager.cs
- MarshalByValueComponent.cs
- X500Name.cs
- QuaternionAnimationUsingKeyFrames.cs
- DefaultAssemblyResolver.cs
- HttpCapabilitiesEvaluator.cs
- MeasureData.cs
- FilterableAttribute.cs
- ColumnWidthChangingEvent.cs
- EntityContainerEmitter.cs
- TrackingCondition.cs
- ExtractedStateEntry.cs
- HtmlInputImage.cs
- InstanceLockLostException.cs
- ModuleConfigurationInfo.cs
- OverrideMode.cs
- StyleHelper.cs
- TextEditorTables.cs
- QilXmlWriter.cs
- DbConnectionStringBuilder.cs
- WindowsFormsSynchronizationContext.cs
- WindowsListViewItemCheckBox.cs
- SQLBinary.cs
- PropertyMapper.cs
- ClientConfigPaths.cs
- StrictAndMessageFilter.cs
- ListControlStringCollectionEditor.cs
- XmlObjectSerializerWriteContextComplexJson.cs
- VirtualDirectoryMapping.cs
- XamlReaderHelper.cs
- COAUTHINFO.cs
- Convert.cs
- DPTypeDescriptorContext.cs
- ReferencedAssembly.cs
- Icon.cs
- InkSerializer.cs
- NullReferenceException.cs
- XmlAttributes.cs
- LinqDataSourceSelectEventArgs.cs
- CallbackValidator.cs
- Font.cs
- TabControlAutomationPeer.cs
- RawTextInputReport.cs
- SwitchExpression.cs
- ImportFileRequest.cs
- SaveFileDialog.cs
- RadioButtonRenderer.cs
- ToolboxComponentsCreatingEventArgs.cs
- ResourceContainerWrapper.cs
- SignatureHelper.cs
- GlyphShapingProperties.cs
- CompressedStack.cs
- ListChangedEventArgs.cs
- SR.cs
- PersonalizationState.cs
- FixedTextBuilder.cs
- ChildTable.cs
- typedescriptorpermission.cs
- AttachmentService.cs
- ControlDesigner.cs
- SerializationInfo.cs
- SystemColors.cs
- ColumnCollection.cs
- BindStream.cs
- BindingExpressionBase.cs
- GeneralTransform3D.cs
- AggregateNode.cs
- RequestTimeoutManager.cs
- ProcessRequestArgs.cs
- GroupItemAutomationPeer.cs
- EditingMode.cs
- MessageSmuggler.cs
- ColorAnimationUsingKeyFrames.cs
- ListSortDescriptionCollection.cs
- UniqueID.cs
- UiaCoreProviderApi.cs
- MenuItem.cs
- SessionIDManager.cs
- HttpCapabilitiesSectionHandler.cs
- HostExecutionContextManager.cs
- RadioButton.cs
- DataFormats.cs
- x509utils.cs