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
- OledbConnectionStringbuilder.cs
- Schema.cs
- MasterPage.cs
- Vector3DValueSerializer.cs
- AssertFilter.cs
- As.cs
- StringSource.cs
- DesignerForm.cs
- ConnectionPointCookie.cs
- XmlnsDictionary.cs
- SqlMetaData.cs
- PropertyGroupDescription.cs
- ClientUrlResolverWrapper.cs
- ObjectStateEntryBaseUpdatableDataRecord.cs
- BindUriHelper.cs
- PropertyMappingExceptionEventArgs.cs
- WebUtil.cs
- FixedLineResult.cs
- Propagator.Evaluator.cs
- TraceLevelHelper.cs
- DataGridViewColumnConverter.cs
- Menu.cs
- AnnouncementDispatcherAsyncResult.cs
- CookielessHelper.cs
- MemberProjectionIndex.cs
- SchemaDeclBase.cs
- COM2PropertyPageUITypeConverter.cs
- DataSourceBooleanViewSchemaConverter.cs
- CursorInteropHelper.cs
- PathStreamGeometryContext.cs
- _BufferOffsetSize.cs
- JoinSymbol.cs
- MarshalByValueComponent.cs
- SupportsPreviewControlAttribute.cs
- MDIControlStrip.cs
- ImageFormat.cs
- SmiEventStream.cs
- NetMsmqSecurityMode.cs
- WebSysDefaultValueAttribute.cs
- SmtpSpecifiedPickupDirectoryElement.cs
- LabelEditEvent.cs
- TextPenaltyModule.cs
- StringStorage.cs
- URIFormatException.cs
- cryptoapiTransform.cs
- DecimalMinMaxAggregationOperator.cs
- ExtensionFile.cs
- DataBoundControl.cs
- IMembershipProvider.cs
- SerializationSectionGroup.cs
- BooleanFacetDescriptionElement.cs
- ResourceAssociationSetEnd.cs
- LongPath.cs
- RouteParametersHelper.cs
- SupportedAddressingMode.cs
- ClientSettings.cs
- BinaryParser.cs
- DeviceContext.cs
- RulePatternOps.cs
- SrgsElementFactory.cs
- RowUpdatingEventArgs.cs
- HtmlLink.cs
- AppDomainManager.cs
- ServiceBusyException.cs
- AnimationException.cs
- ServiceReference.cs
- EventLogPermissionEntry.cs
- ResourceDescriptionAttribute.cs
- SiteMapPathDesigner.cs
- MaskedTextBox.cs
- StrokeCollectionDefaultValueFactory.cs
- GridView.cs
- FixedSOMGroup.cs
- CalculatedColumn.cs
- AppModelKnownContentFactory.cs
- TcpClientSocketManager.cs
- CodeGeneratorOptions.cs
- MultiTrigger.cs
- SafeSecurityHandles.cs
- FramingFormat.cs
- TextBoxDesigner.cs
- Aggregates.cs
- BinaryKeyIdentifierClause.cs
- BaseCodePageEncoding.cs
- RowBinding.cs
- SystemParameters.cs
- AssemblyBuilder.cs
- SystemDiagnosticsSection.cs
- Pens.cs
- FileRegion.cs
- EntityStoreSchemaGenerator.cs
- TCPClient.cs
- IsolatedStorageFile.cs
- MLangCodePageEncoding.cs
- RelationshipConstraintValidator.cs
- OpacityConverter.cs
- ConfigXmlSignificantWhitespace.cs
- UInt64Converter.cs
- AdornedElementPlaceholder.cs
- BamlBinaryWriter.cs