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
- EqualityComparer.cs
- QuotedPrintableStream.cs
- ActivityTypeDesigner.xaml.cs
- XmlEntity.cs
- ObjectDataSourceMethodEventArgs.cs
- GregorianCalendarHelper.cs
- SqlNode.cs
- UnsettableComboBox.cs
- SupportsEventValidationAttribute.cs
- ToolStripPanelCell.cs
- StrongName.cs
- DataFormat.cs
- ModuleBuilder.cs
- TimeSpanParse.cs
- ADMembershipProvider.cs
- ComplexObject.cs
- SymmetricSecurityBindingElement.cs
- ReadOnlyDictionary.cs
- DataPagerField.cs
- CompositeActivityMarkupSerializer.cs
- ThreadPool.cs
- DataServiceHostFactory.cs
- ProcessRequestArgs.cs
- ProfileEventArgs.cs
- SafeProcessHandle.cs
- TaskFormBase.cs
- ToolStripRenderEventArgs.cs
- WebPartDisplayModeCollection.cs
- securestring.cs
- ListControl.cs
- PolygonHotSpot.cs
- Region.cs
- DBParameter.cs
- PersistencePipeline.cs
- AuthorizationRuleCollection.cs
- FtpWebResponse.cs
- GridViewUpdatedEventArgs.cs
- XmlNodeReader.cs
- EncodingInfo.cs
- ApplicationContext.cs
- HeaderFilter.cs
- ConnectionPoint.cs
- BamlRecordHelper.cs
- WebPartEditVerb.cs
- DefaultValidator.cs
- XmlSerializerFactory.cs
- MissingMethodException.cs
- Size3D.cs
- CompiledRegexRunner.cs
- dbenumerator.cs
- ScriptingAuthenticationServiceSection.cs
- CachedTypeface.cs
- ConsoleKeyInfo.cs
- XmlTypeAttribute.cs
- DbConnectionPool.cs
- documentsequencetextcontainer.cs
- GlobalizationSection.cs
- SequentialOutput.cs
- OleDbTransaction.cs
- StyleCollection.cs
- MobileComponentEditorPage.cs
- BridgeDataRecord.cs
- Subtree.cs
- ChannelEndpointElementCollection.cs
- XmlToDatasetMap.cs
- MenuItem.cs
- ImageInfo.cs
- InputLanguageProfileNotifySink.cs
- ADRoleFactoryConfiguration.cs
- WindowsClaimSet.cs
- MtomMessageEncodingBindingElement.cs
- SqlExpander.cs
- PrtCap_Public.cs
- FormattedText.cs
- ActivityStateRecord.cs
- MarkedHighlightComponent.cs
- MemberInfoSerializationHolder.cs
- SqlTypesSchemaImporter.cs
- XmlEventCache.cs
- PaginationProgressEventArgs.cs
- SplitterEvent.cs
- DispatcherSynchronizationContext.cs
- XomlSerializationHelpers.cs
- serverconfig.cs
- ContainerParagraph.cs
- LineSegment.cs
- WindowsFormsHelpers.cs
- CodeAccessSecurityEngine.cs
- TemplateControlBuildProvider.cs
- PageAsyncTaskManager.cs
- PropertyGeneratedEventArgs.cs
- EDesignUtil.cs
- KeyValueConfigurationElement.cs
- ProxyFragment.cs
- ResourceProviderFactory.cs
- ExpressionBinding.cs
- ADMembershipProvider.cs
- SkewTransform.cs
- StorageScalarPropertyMapping.cs
- PartitionedDataSource.cs