Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / Orcas / QFE / ndp / fx / src / DataWeb / Server / System / Data / Services / QueryInterceptorAttribute.cs / 1 / 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. //---------------------------------------------------------------------- //// 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
![Network programming in C#, Network Programming in VB.NET, Network Programming in .NET](/images/book.jpg)
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- FormsAuthenticationConfiguration.cs
- SqlPersistenceWorkflowInstanceDescription.cs
- DesignSurfaceManager.cs
- WebBaseEventKeyComparer.cs
- ReaderContextStackData.cs
- _LoggingObject.cs
- ListViewCommandEventArgs.cs
- AttachedPropertyBrowsableWhenAttributePresentAttribute.cs
- ProjectionPlan.cs
- MembershipPasswordException.cs
- CodeValidator.cs
- MatrixUtil.cs
- ProxyWebPart.cs
- GZipStream.cs
- IgnoreSectionHandler.cs
- ButtonBaseDesigner.cs
- PropertyMap.cs
- XslTransform.cs
- StatusBarDesigner.cs
- DependencyObjectProvider.cs
- DataGridViewRowsRemovedEventArgs.cs
- ItemsControlAutomationPeer.cs
- EventsTab.cs
- WindowAutomationPeer.cs
- AliasedSlot.cs
- Native.cs
- DispatcherTimer.cs
- AdRotator.cs
- RSACryptoServiceProvider.cs
- SizeValueSerializer.cs
- RuntimeWrappedException.cs
- SiteMapNode.cs
- ServicePerformanceCounters.cs
- WebResourceUtil.cs
- EventSinkHelperWriter.cs
- ProviderSettingsCollection.cs
- EdgeModeValidation.cs
- TextSpan.cs
- Configuration.cs
- DynamicRenderer.cs
- UpdateExpressionVisitor.cs
- GridViewEditEventArgs.cs
- SignatureResourcePool.cs
- LicenseProviderAttribute.cs
- ControlLocalizer.cs
- SocketException.cs
- ResourceReader.cs
- HttpStreamFormatter.cs
- PrintEvent.cs
- ScrollBar.cs
- ResourceDisplayNameAttribute.cs
- HasCopySemanticsAttribute.cs
- ImageMapEventArgs.cs
- OverloadGroupAttribute.cs
- RestrictedTransactionalPackage.cs
- WebServiceResponseDesigner.cs
- TemplateBindingExtensionConverter.cs
- ADConnectionHelper.cs
- ApplicationBuildProvider.cs
- XmlHierarchicalEnumerable.cs
- XmlAnyElementAttribute.cs
- FloaterParagraph.cs
- PasswordTextNavigator.cs
- TypedElement.cs
- ServicesExceptionNotHandledEventArgs.cs
- BindableTemplateBuilder.cs
- Effect.cs
- MenuItem.cs
- Style.cs
- ContextItemManager.cs
- HttpValueCollection.cs
- DispatcherExceptionEventArgs.cs
- BinaryObjectInfo.cs
- XmlNamedNodeMap.cs
- EncoderParameters.cs
- TrustManagerMoreInformation.cs
- ValueType.cs
- DocumentXmlWriter.cs
- ReferencedType.cs
- DataViewListener.cs
- XmlResolver.cs
- HttpCacheVary.cs
- SerializationAttributes.cs
- DateTimeFormatInfoScanner.cs
- RewritingSimplifier.cs
- ViewCellSlot.cs
- ObjectListGeneralPage.cs
- HttpApplicationFactory.cs
- SkipQueryOptionExpression.cs
- MenuItemStyleCollection.cs
- TextShapeableCharacters.cs
- HttpFileCollection.cs
- StaticExtension.cs
- LoopExpression.cs
- NullToBooleanConverter.cs
- HitTestWithPointDrawingContextWalker.cs
- ResourcePermissionBaseEntry.cs
- ReferencedCollectionType.cs
- ErasingStroke.cs
- ServiceObjectContainer.cs