Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / Orcas / SP / 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
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- AssociationTypeEmitter.cs
- SecurityDescriptor.cs
- SecurityTokenAttachmentMode.cs
- BitmapEffectOutputConnector.cs
- DataControlButton.cs
- FolderLevelBuildProviderCollection.cs
- QuadraticBezierSegment.cs
- RemoteWebConfigurationHostServer.cs
- TimeStampChecker.cs
- XmlSchemaComplexContentRestriction.cs
- ProtocolsConfiguration.cs
- BatchServiceHost.cs
- InvalidComObjectException.cs
- RC2CryptoServiceProvider.cs
- EntityDataSourceContainerNameConverter.cs
- AnnotationService.cs
- SqlEnums.cs
- _SSPISessionCache.cs
- ResourceReferenceExpression.cs
- BigInt.cs
- Int16KeyFrameCollection.cs
- FastEncoderWindow.cs
- MessageQueueException.cs
- RegexTree.cs
- DateBoldEvent.cs
- _NegotiateClient.cs
- AccessibleObject.cs
- DataGridViewColumnDividerDoubleClickEventArgs.cs
- SpotLight.cs
- AppDomainManager.cs
- HttpGetServerProtocol.cs
- ConfigurationStrings.cs
- ConstraintEnumerator.cs
- TemplateKeyConverter.cs
- SecureEnvironment.cs
- MimeTypeMapper.cs
- ExternalException.cs
- WebServiceTypeData.cs
- KnownTypesProvider.cs
- EventHandlersStore.cs
- _NestedSingleAsyncResult.cs
- ThousandthOfEmRealPoints.cs
- PageContentCollection.cs
- PerspectiveCamera.cs
- RC2.cs
- Win32MouseDevice.cs
- Visitors.cs
- RectAnimationBase.cs
- AbsoluteQuery.cs
- BitmapVisualManager.cs
- HWStack.cs
- HyperLinkDesigner.cs
- WinFormsComponentEditor.cs
- FrameworkContentElement.cs
- ChannelManager.cs
- StateChangeEvent.cs
- XmlToDatasetMap.cs
- ToolStripManager.cs
- DriveNotFoundException.cs
- SendMailErrorEventArgs.cs
- CodeActivityMetadata.cs
- GenericNameHandler.cs
- PageWrapper.cs
- OleDbInfoMessageEvent.cs
- PageBuildProvider.cs
- ExportException.cs
- LongPath.cs
- WindowsListViewItemCheckBox.cs
- PolyQuadraticBezierSegment.cs
- WebPartManagerDesigner.cs
- UnsafeNativeMethods.cs
- GPPOINTF.cs
- ObjectNotFoundException.cs
- Missing.cs
- XmlAttribute.cs
- DataGridViewBindingCompleteEventArgs.cs
- WebZone.cs
- HttpServerUtilityWrapper.cs
- HttpTransportSecurity.cs
- GPStream.cs
- GlyphManager.cs
- ToolboxItemWrapper.cs
- HttpCachePolicyWrapper.cs
- OleServicesContext.cs
- SettingsProperty.cs
- PartialCachingAttribute.cs
- RubberbandSelector.cs
- ContextMarshalException.cs
- StringKeyFrameCollection.cs
- SpellerHighlightLayer.cs
- IntellisenseTextBox.cs
- TrustManagerPromptUI.cs
- WebScriptServiceHostFactory.cs
- AmbientLight.cs
- FtpWebResponse.cs
- CodeTypeReferenceExpression.cs
- NetNamedPipeSecurity.cs
- TextServicesCompartmentEventSink.cs
- ShaderEffect.cs
- Int16.cs