Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / DataWeb / Server / System / Data / Services / QueryInterceptorAttribute.cs / 1305376 / QueryInterceptorAttribute.cs
//---------------------------------------------------------------------- //// Copyright (c) Microsoft Corporation. All rights reserved. // //// Provides a class to decorate query callback methods. // // // @owner [....] //--------------------------------------------------------------------- namespace System.Data.Services { using System; using System.Diagnostics; ////// Use this attribute on a DataService method to indicate than this method should be invoked to intercept queries. /// [AttributeUsage(AttributeTargets.Method, AllowMultiple = true, Inherited = true)] public sealed class QueryInterceptorAttribute : Attribute { ///Entity set name that the method filters. private readonly string entitySetName; ///Declares a new /// Entity set name that the method intercepts queries for. public QueryInterceptorAttribute(string entitySetName) { this.entitySetName = WebUtil.CheckArgumentNull(entitySetName, "entitySetName"); } ///instance. Entity set name that the method intercepts queries for. public string EntitySetName { [DebuggerStepThrough] get { return this.entitySetName; } } } } // 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
- IdentityNotMappedException.cs
- CharUnicodeInfo.cs
- BoundField.cs
- LifetimeServices.cs
- JsonEnumDataContract.cs
- NativeMethods.cs
- TryCatchDesigner.xaml.cs
- TimelineClockCollection.cs
- EmptyImpersonationContext.cs
- GlyphTypeface.cs
- DataBindEngine.cs
- SerializationInfo.cs
- StatusBarAutomationPeer.cs
- StandardCommands.cs
- SectionUpdates.cs
- Logging.cs
- ForAllOperator.cs
- DataGridColumnHeaderCollection.cs
- ResourceKey.cs
- Bezier.cs
- bidPrivateBase.cs
- GridViewHeaderRowPresenter.cs
- TableLayoutSettings.cs
- SessionStateUtil.cs
- AddInBase.cs
- DataGridViewLinkCell.cs
- RequestNavigateEventArgs.cs
- ThreadStartException.cs
- PolygonHotSpot.cs
- MetadataItemCollectionFactory.cs
- XmlMembersMapping.cs
- StrokeSerializer.cs
- SrgsRulesCollection.cs
- FirstMatchCodeGroup.cs
- InternalConfigConfigurationFactory.cs
- BuildManagerHost.cs
- Condition.cs
- TableAutomationPeer.cs
- MeasureItemEvent.cs
- FontSource.cs
- ConfigXmlDocument.cs
- LazyTextWriterCreator.cs
- ToolTipService.cs
- SignedInfo.cs
- SQLBytes.cs
- DrawingImage.cs
- OdbcError.cs
- NamespaceExpr.cs
- PrefixQName.cs
- TextSelectionProcessor.cs
- StyleModeStack.cs
- InkCanvasInnerCanvas.cs
- DynamicValidatorEventArgs.cs
- TextOnlyOutput.cs
- CharacterHit.cs
- TextRenderingModeValidation.cs
- CodeLinePragma.cs
- RegexParser.cs
- CharacterBuffer.cs
- HTTPNotFoundHandler.cs
- FileVersionInfo.cs
- PageAdapter.cs
- ReadOnlyDataSourceView.cs
- GroupItem.cs
- LogRecordSequence.cs
- BaseConfigurationRecord.cs
- BCryptSafeHandles.cs
- BaseProcessor.cs
- ConnectionInterfaceCollection.cs
- RightNameExpirationInfoPair.cs
- XmlReader.cs
- OleDbCommand.cs
- AccessViolationException.cs
- ItemsPanelTemplate.cs
- FileRecordSequenceCompletedAsyncResult.cs
- HttpCachePolicy.cs
- WaitHandleCannotBeOpenedException.cs
- TreeChangeInfo.cs
- ExceptionUtility.cs
- SqlFunctionAttribute.cs
- ProjectionPruner.cs
- RSAOAEPKeyExchangeDeformatter.cs
- TextWriterEngine.cs
- AsymmetricKeyExchangeDeformatter.cs
- BooleanAnimationUsingKeyFrames.cs
- DefaultValueAttribute.cs
- HelpKeywordAttribute.cs
- TextSelectionProcessor.cs
- QfeChecker.cs
- SpeechDetectedEventArgs.cs
- UpdateRecord.cs
- DependencyObjectType.cs
- ISAPIWorkerRequest.cs
- HttpHandlerActionCollection.cs
- MethodBuilderInstantiation.cs
- NamespaceList.cs
- PolyBezierSegmentFigureLogic.cs
- ServiceDocumentFormatter.cs
- MsmqBindingBase.cs
- SqlProviderManifest.cs