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
- OrderingQueryOperator.cs
- Root.cs
- BitmapCodecInfoInternal.cs
- DocumentEventArgs.cs
- DiffuseMaterial.cs
- CustomLineCap.cs
- MouseActionConverter.cs
- HttpChannelBindingToken.cs
- ManagementScope.cs
- AesManaged.cs
- WebPartCatalogCloseVerb.cs
- UnsafeNativeMethodsPenimc.cs
- CustomAttributeFormatException.cs
- Vector3DAnimation.cs
- WebPartTracker.cs
- XPathMessageFilterTable.cs
- FormsAuthenticationTicket.cs
- Debug.cs
- CngKeyBlobFormat.cs
- SamlAuthenticationClaimResource.cs
- PropertyTabAttribute.cs
- XPathExpr.cs
- KoreanLunisolarCalendar.cs
- CollectionView.cs
- RC2CryptoServiceProvider.cs
- MenuItemCollectionEditor.cs
- ADConnectionHelper.cs
- MouseGestureConverter.cs
- HashCodeCombiner.cs
- ListViewVirtualItemsSelectionRangeChangedEvent.cs
- GeometryValueSerializer.cs
- ContextInformation.cs
- ButtonChrome.cs
- BitmapFrameDecode.cs
- WebFormsRootDesigner.cs
- DataSourceControlBuilder.cs
- HeaderedContentControl.cs
- COAUTHINFO.cs
- SqlFacetAttribute.cs
- ApplicationTrust.cs
- NameValueCollection.cs
- TerminatorSinks.cs
- TextParagraphCache.cs
- ListParaClient.cs
- NullToBooleanConverter.cs
- DynamicRenderer.cs
- DataServiceRequestOfT.cs
- XsltLibrary.cs
- EncryptedKeyIdentifierClause.cs
- WebPartZone.cs
- XmlAggregates.cs
- ToggleButtonAutomationPeer.cs
- DefaultBinder.cs
- StaticDataManager.cs
- shaper.cs
- PreviewKeyDownEventArgs.cs
- CharacterShapingProperties.cs
- TreeWalker.cs
- HtmlInputSubmit.cs
- PkcsMisc.cs
- DesignerToolStripControlHost.cs
- DbConnectionFactory.cs
- WebEventCodes.cs
- ConnectionPoint.cs
- WmpBitmapEncoder.cs
- WebPartEditorCancelVerb.cs
- DataGridViewDataErrorEventArgs.cs
- FormsAuthenticationTicket.cs
- AttributeUsageAttribute.cs
- FuncCompletionCallbackWrapper.cs
- CommandField.cs
- ApplicationManager.cs
- XmlAttributeAttribute.cs
- LogSwitch.cs
- FastEncoder.cs
- Int16Storage.cs
- ListManagerBindingsCollection.cs
- SimpleColumnProvider.cs
- MediaEntryAttribute.cs
- DependencyObjectProvider.cs
- RectAnimationUsingKeyFrames.cs
- Win32.cs
- FormsAuthenticationConfiguration.cs
- WebScriptServiceHostFactory.cs
- CookieParameter.cs
- _UncName.cs
- EditorBrowsableAttribute.cs
- ScriptingRoleServiceSection.cs
- XmlTextEncoder.cs
- Panel.cs
- IODescriptionAttribute.cs
- InvalidCommandTreeException.cs
- SeekStoryboard.cs
- NextPreviousPagerField.cs
- ExtentKey.cs
- MainMenu.cs
- XhtmlBasicLiteralTextAdapter.cs
- AppDomainShutdownMonitor.cs
- ControlType.cs
- ResourceDescriptionAttribute.cs