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
- ScriptControlManager.cs
- ScrollData.cs
- NamedObjectList.cs
- ValidatorUtils.cs
- DocobjHost.cs
- TextTabProperties.cs
- InternalSafeNativeMethods.cs
- ItemsControl.cs
- StreamHelper.cs
- UndoManager.cs
- TypedTableBase.cs
- ConnectionStringsExpressionBuilder.cs
- TextParaClient.cs
- PropertyGridView.cs
- ReverseInheritProperty.cs
- XmlSchemaDocumentation.cs
- ContractNamespaceAttribute.cs
- ContentPosition.cs
- FacetDescriptionElement.cs
- VariantWrapper.cs
- DummyDataSource.cs
- StylusSystemGestureEventArgs.cs
- PropertyBuilder.cs
- XamlContextStack.cs
- SqlBuilder.cs
- WmlImageAdapter.cs
- EntityCommandDefinition.cs
- SspiNegotiationTokenAuthenticatorState.cs
- Stack.cs
- HttpSocketManager.cs
- WebBaseEventKeyComparer.cs
- PackageRelationshipSelector.cs
- AsymmetricKeyExchangeDeformatter.cs
- GroupItem.cs
- NullRuntimeConfig.cs
- WSSecurityPolicy12.cs
- XPathScanner.cs
- QualifiedCellIdBoolean.cs
- DeflateEmulationStream.cs
- ICollection.cs
- MessageHeaderException.cs
- BooleanAnimationUsingKeyFrames.cs
- SelectionProviderWrapper.cs
- ContextMenu.cs
- EditorPartDesigner.cs
- webeventbuffer.cs
- SchemaImporter.cs
- DataGridViewCellLinkedList.cs
- EventListener.cs
- ListViewUpdatedEventArgs.cs
- KeyInstance.cs
- DateTimeHelper.cs
- TableLayoutRowStyleCollection.cs
- StrongTypingException.cs
- FontNameEditor.cs
- _RequestCacheProtocol.cs
- HtmlWindow.cs
- PersonalizationEntry.cs
- SoapMessage.cs
- XMLDiffLoader.cs
- ValidationResult.cs
- BamlBinaryWriter.cs
- WebPartHeaderCloseVerb.cs
- DoWorkEventArgs.cs
- ModelPropertyImpl.cs
- HTMLTagNameToTypeMapper.cs
- RawStylusInputCustomData.cs
- PathGeometry.cs
- CheckoutException.cs
- Visitors.cs
- Wizard.cs
- ServiceProviders.cs
- XmlSchemaAttributeGroup.cs
- SiteMapDataSource.cs
- NavigationHelper.cs
- DataObjectPastingEventArgs.cs
- DisplayToken.cs
- SqlFacetAttribute.cs
- GatewayIPAddressInformationCollection.cs
- Size3D.cs
- ObjectQueryExecutionPlan.cs
- SingleConverter.cs
- ZipIOLocalFileHeader.cs
- ByteAnimationUsingKeyFrames.cs
- _BufferOffsetSize.cs
- NamespaceMapping.cs
- SocketPermission.cs
- MenuItemBindingCollection.cs
- WrappedIUnknown.cs
- InstanceOwnerException.cs
- DataGridViewRowCancelEventArgs.cs
- Events.cs
- XmlWriterSettings.cs
- Point.cs
- PartialList.cs
- Vector3DKeyFrameCollection.cs
- QuaternionRotation3D.cs
- ReferentialConstraint.cs
- JoinGraph.cs
- DrawListViewSubItemEventArgs.cs