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
- TransformerInfoCollection.cs
- WebPartEditorOkVerb.cs
- MetadataArtifactLoaderXmlReaderWrapper.cs
- Margins.cs
- StringCollection.cs
- TypeTypeConverter.cs
- Int32AnimationBase.cs
- RegexTypeEditor.cs
- CacheDependency.cs
- Vector3DCollectionConverter.cs
- WebScriptServiceHost.cs
- SimpleMailWebEventProvider.cs
- ErrorFormatter.cs
- FixedSOMGroup.cs
- MasterPageBuildProvider.cs
- QuadraticBezierSegment.cs
- ScriptReferenceBase.cs
- ProgressBar.cs
- XmlSchemaProviderAttribute.cs
- SystemIPGlobalStatistics.cs
- FixUpCollection.cs
- MaskedTextProvider.cs
- StreamWriter.cs
- AssemblyContextControlItem.cs
- WebPartDisplayModeCancelEventArgs.cs
- ValidationEventArgs.cs
- DataGridViewCellFormattingEventArgs.cs
- RandomNumberGenerator.cs
- NameValueConfigurationCollection.cs
- SQLResource.cs
- DisplayToken.cs
- SimpleWorkerRequest.cs
- SafeEventLogReadHandle.cs
- CommentEmitter.cs
- ParenExpr.cs
- OutputScope.cs
- Int16Animation.cs
- TransactionException.cs
- FlagsAttribute.cs
- ContextMenu.cs
- QilPatternFactory.cs
- NullReferenceException.cs
- CFStream.cs
- XMLDiffLoader.cs
- FunctionParameter.cs
- WebPartHeaderCloseVerb.cs
- DatagridviewDisplayedBandsData.cs
- objectquery_tresulttype.cs
- TargetControlTypeCache.cs
- AttachedAnnotation.cs
- PersianCalendar.cs
- PerformanceCounterManager.cs
- HtmlLiteralTextAdapter.cs
- DataSourceConverter.cs
- ToolStripArrowRenderEventArgs.cs
- BamlMapTable.cs
- ReservationCollection.cs
- ComEventsHelper.cs
- Exceptions.cs
- OrderedEnumerableRowCollection.cs
- CapacityStreamGeometryContext.cs
- TCPListener.cs
- ConstraintEnumerator.cs
- GeneralTransform2DTo3DTo2D.cs
- GeneralTransformGroup.cs
- Frame.cs
- GridViewColumnCollectionChangedEventArgs.cs
- PropVariant.cs
- ServiceOperationWrapper.cs
- TextContainer.cs
- XslAst.cs
- PersonalizationProvider.cs
- DataBindingCollectionConverter.cs
- XamlInt32CollectionSerializer.cs
- StringUtil.cs
- MultiPageTextView.cs
- AsymmetricKeyExchangeFormatter.cs
- RuntimeHelpers.cs
- PolygonHotSpot.cs
- SweepDirectionValidation.cs
- HtmlTextArea.cs
- XmlByteStreamReader.cs
- Validator.cs
- BypassElement.cs
- SqlFunctionAttribute.cs
- DbTransaction.cs
- TailPinnedEventArgs.cs
- WmlCalendarAdapter.cs
- StreamAsIStream.cs
- MarkupCompiler.cs
- RelationshipFixer.cs
- UnicastIPAddressInformationCollection.cs
- EnumConverter.cs
- WebPartCollection.cs
- Base64Encoder.cs
- BaseAddressPrefixFilterElementCollection.cs
- XmlILStorageConverter.cs
- ForAllOperator.cs
- ErrorFormatter.cs
- BookmarkScopeManager.cs