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
- ImageFormatConverter.cs
- CodeLinePragma.cs
- BaseDataBoundControl.cs
- FormViewPagerRow.cs
- RepeaterItemCollection.cs
- StatusBar.cs
- ResourceDisplayNameAttribute.cs
- AuthenticateEventArgs.cs
- SchemaCollectionPreprocessor.cs
- Pen.cs
- RepeatInfo.cs
- _LoggingObject.cs
- References.cs
- Rotation3D.cs
- CTreeGenerator.cs
- JsonClassDataContract.cs
- AnnotationStore.cs
- DataColumnPropertyDescriptor.cs
- ServiceDocumentFormatter.cs
- Token.cs
- DriveNotFoundException.cs
- ScopedMessagePartSpecification.cs
- SmtpNegotiateAuthenticationModule.cs
- WizardStepBase.cs
- EnvelopedPkcs7.cs
- FileDialog.cs
- OdbcParameter.cs
- DataContractJsonSerializerOperationFormatter.cs
- ItemCollection.cs
- Compress.cs
- GetPageNumberCompletedEventArgs.cs
- ObjectViewFactory.cs
- __Filters.cs
- Pen.cs
- MenuEventArgs.cs
- Wizard.cs
- FrugalList.cs
- Drawing.cs
- securestring.cs
- Publisher.cs
- WebCategoryAttribute.cs
- SystemException.cs
- HttpUnhandledOperationInvoker.cs
- BinaryUtilClasses.cs
- UserNameSecurityTokenAuthenticator.cs
- localization.cs
- VoiceObjectToken.cs
- XmlTextAttribute.cs
- Tuple.cs
- NetworkInterface.cs
- FlowDocumentScrollViewer.cs
- SeverityFilter.cs
- Registry.cs
- OpCopier.cs
- XmlKeywords.cs
- GridViewAutomationPeer.cs
- MarkupProperty.cs
- x509utils.cs
- DataGridViewRowHeightInfoPushedEventArgs.cs
- MetroSerializationManager.cs
- LogReservationCollection.cs
- IHttpResponseInternal.cs
- HttpCacheParams.cs
- HttpCachePolicy.cs
- GlyphManager.cs
- _IPv4Address.cs
- CapabilitiesAssignment.cs
- ProviderConnectionPoint.cs
- Win32PrintDialog.cs
- CheckableControlBaseAdapter.cs
- CodeTypeDelegate.cs
- SqlConnectionPoolGroupProviderInfo.cs
- ZipIOLocalFileHeader.cs
- AsyncResult.cs
- MsmqInputSessionChannel.cs
- WebDisplayNameAttribute.cs
- AcceleratedTokenProviderState.cs
- OptimalTextSource.cs
- OdbcUtils.cs
- MetaChildrenColumn.cs
- UnsafeNativeMethods.cs
- MatrixTransform3D.cs
- IsolatedStorageException.cs
- OdbcReferenceCollection.cs
- GridViewRowCollection.cs
- Geometry3D.cs
- PropertyTabAttribute.cs
- KeyNotFoundException.cs
- ContainerFilterService.cs
- DebugInfoExpression.cs
- TemplateBamlRecordReader.cs
- Convert.cs
- KeyboardDevice.cs
- SerializationAttributes.cs
- CryptoApi.cs
- XmlNavigatorFilter.cs
- HtmlTableCellCollection.cs
- RadioButtonAutomationPeer.cs
- ObjectStorage.cs
- ParserHooks.cs