Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / Orcas / SP / ndp / fx / src / DataWeb / Client / System / Data / Services / Client / DataServiceQuery.cs / 1 / DataServiceQuery.cs
//----------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//
// query base object
//
//---------------------------------------------------------------------
namespace System.Data.Services.Client
{
using System.Linq;
using System.Linq.Expressions;
/// non-generic placeholder for generic implementation
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1010", Justification = "required for this feature")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1710", Justification = "required for this feature")]
public abstract class DataServiceQuery : DataServiceRequest, IQueryable
{
/// internal constructor so that only our assembly can provide an implementation
internal DataServiceQuery()
{
}
/// Linq Expression
public abstract Expression Expression
{
get;
}
/// Linq Query Provider
public abstract IQueryProvider Provider
{
get;
}
/// Get an enumerator materializes the objects the Uri request.
/// an enumerator
/// Expect derived class to override this with an explict interface implementation
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1033", Justification = "required for this feature")]
System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator()
{
throw Error.NotImplemented();
}
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
//----------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//
// query base object
//
//---------------------------------------------------------------------
namespace System.Data.Services.Client
{
using System.Linq;
using System.Linq.Expressions;
/// non-generic placeholder for generic implementation
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1010", Justification = "required for this feature")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1710", Justification = "required for this feature")]
public abstract class DataServiceQuery : DataServiceRequest, IQueryable
{
/// internal constructor so that only our assembly can provide an implementation
internal DataServiceQuery()
{
}
/// Linq Expression
public abstract Expression Expression
{
get;
}
/// Linq Query Provider
public abstract IQueryProvider Provider
{
get;
}
/// Get an enumerator materializes the objects the Uri request.
/// an enumerator
/// Expect derived class to override this with an explict interface implementation
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1033", Justification = "required for this feature")]
System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator()
{
throw Error.NotImplemented();
}
}
}
// 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
- SmiConnection.cs
- StringOutput.cs
- ByeMessageCD1.cs
- SharedPersonalizationStateInfo.cs
- EntityDescriptor.cs
- VisualBrush.cs
- DataSet.cs
- EntryIndex.cs
- RemoveFromCollection.cs
- LocatorBase.cs
- IMembershipProvider.cs
- DiscreteKeyFrames.cs
- BaseCollection.cs
- RC2.cs
- GridViewCancelEditEventArgs.cs
- ControlCachePolicy.cs
- BypassElementCollection.cs
- ClientSession.cs
- EventItfInfo.cs
- WmlCommandAdapter.cs
- ContextBase.cs
- CapabilitiesRule.cs
- ContextConfiguration.cs
- CngKeyBlobFormat.cs
- SqlNotificationEventArgs.cs
- storepermission.cs
- DesignerCatalogPartChrome.cs
- DesignTimeType.cs
- Rectangle.cs
- ConnectionInterfaceCollection.cs
- WorkflowApplication.cs
- GroupedContextMenuStrip.cs
- BindingMemberInfo.cs
- FigureHelper.cs
- DataTemplateSelector.cs
- HandlerBase.cs
- RawAppCommandInputReport.cs
- DoubleAnimationUsingPath.cs
- ItemsControlAutomationPeer.cs
- Queue.cs
- Color.cs
- FixedElement.cs
- BamlRecordWriter.cs
- DataViewSetting.cs
- RuntimeCompatibilityAttribute.cs
- EntityCommand.cs
- DataGridSortCommandEventArgs.cs
- QilStrConcatenator.cs
- VisemeEventArgs.cs
- ContractListAdapter.cs
- ExclusiveHandle.cs
- BlockCollection.cs
- GetReadStreamResult.cs
- BindingExpression.cs
- AttributeProviderAttribute.cs
- PrimitiveType.cs
- ParsedAttributeCollection.cs
- PropertyChangingEventArgs.cs
- SafeSystemMetrics.cs
- TypeConverterHelper.cs
- AmbiguousMatchException.cs
- MatrixTransform.cs
- ControlUtil.cs
- NoClickablePointException.cs
- BoundColumn.cs
- SessionSymmetricTransportSecurityProtocolFactory.cs
- PrinterResolution.cs
- LongTypeConverter.cs
- Visitor.cs
- HwndHostAutomationPeer.cs
- CodeExporter.cs
- MimeFormImporter.cs
- StorageEntityTypeMapping.cs
- HGlobalSafeHandle.cs
- XmlSignatureManifest.cs
- ToolboxService.cs
- DispatchWrapper.cs
- AnnotationResourceCollection.cs
- OperationParameterInfo.cs
- SqlCacheDependencyDatabase.cs
- TraceRecord.cs
- ScrollBarRenderer.cs
- MenuBase.cs
- DocumentViewerConstants.cs
- FloaterBaseParagraph.cs
- IdentityElement.cs
- RewritingPass.cs
- WindowInteractionStateTracker.cs
- OleDbCommandBuilder.cs
- LicenseContext.cs
- ISAPIApplicationHost.cs
- ListViewDeletedEventArgs.cs
- recordstatescratchpad.cs
- VisualProxy.cs
- EllipseGeometry.cs
- BufferModesCollection.cs
- DrawingServices.cs
- MemberRestriction.cs
- CategoryAttribute.cs
- TraceXPathNavigator.cs