Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / Orcas / QFE / 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. // //----------------------------------------------------------------------------- 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.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- MainMenu.cs
- Site.cs
- WebDisplayNameAttribute.cs
- GroupItemAutomationPeer.cs
- OleDbDataAdapter.cs
- HttpApplication.cs
- EntitySqlQueryCacheEntry.cs
- OleDbError.cs
- BamlResourceContent.cs
- ParameterModifier.cs
- ProxyHelper.cs
- DocumentGridPage.cs
- CreateDataSourceDialog.cs
- SqlClientWrapperSmiStream.cs
- Inline.cs
- ComponentGlyph.cs
- BooleanStorage.cs
- ToolStripItemGlyph.cs
- Logging.cs
- StoreContentChangedEventArgs.cs
- ChtmlImageAdapter.cs
- ResourceType.cs
- PackageRelationshipSelector.cs
- SqlConnectionStringBuilder.cs
- ParameterToken.cs
- HtmlFormParameterWriter.cs
- CompoundFileReference.cs
- GenerateTemporaryTargetAssembly.cs
- WebPartEditorOkVerb.cs
- MenuItem.cs
- MILUtilities.cs
- LinkClickEvent.cs
- TemplateBindingExtensionConverter.cs
- ThreadExceptionDialog.cs
- TextEditorCopyPaste.cs
- Claim.cs
- ArraySubsetEnumerator.cs
- GenericWebPart.cs
- HtmlGenericControl.cs
- AxParameterData.cs
- ExecutionContext.cs
- WindowsHyperlink.cs
- ActiveDocumentEvent.cs
- ProfilePropertySettings.cs
- SynchronizedDispatch.cs
- DataIdProcessor.cs
- HyperLinkColumn.cs
- ConcurrencyBehavior.cs
- StylusShape.cs
- EventsTab.cs
- ButtonBaseAdapter.cs
- MimeMultiPart.cs
- PrivilegedConfigurationManager.cs
- MeasurementDCInfo.cs
- SqlReorderer.cs
- Merger.cs
- PerformanceCounterPermission.cs
- NativeMethods.cs
- PrintSchema.cs
- IListConverters.cs
- XmlSignatureManifest.cs
- DesignerActionTextItem.cs
- HtmlInputSubmit.cs
- PathGeometry.cs
- SimpleMailWebEventProvider.cs
- StrongNameKeyPair.cs
- ProcessHostMapPath.cs
- DescendantOverDescendantQuery.cs
- XmlDataImplementation.cs
- StyleSelector.cs
- GridProviderWrapper.cs
- OdbcInfoMessageEvent.cs
- LookupNode.cs
- ResourceIDHelper.cs
- EntityDataSourceState.cs
- VectorAnimation.cs
- RegistrySecurity.cs
- BmpBitmapEncoder.cs
- InstanceCreationEditor.cs
- DeploymentSection.cs
- PropertyReferenceSerializer.cs
- CatalogPart.cs
- MimeFormReflector.cs
- NotifyInputEventArgs.cs
- SqlConnectionHelper.cs
- OutputScope.cs
- MultipleViewProviderWrapper.cs
- FastEncoderWindow.cs
- HttpWriter.cs
- _NestedSingleAsyncResult.cs
- RequestQueryProcessor.cs
- WebPartUtil.cs
- EngineSiteSapi.cs
- DataGridRowAutomationPeer.cs
- CapabilitiesState.cs
- ForwardPositionQuery.cs
- DocumentOutline.cs
- SystemGatewayIPAddressInformation.cs
- _FixedSizeReader.cs
- GridViewRowPresenter.cs