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

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- KeyValuePairs.cs
- SelectedDatesCollection.cs
- XmlQueryStaticData.cs
- IndexingContentUnit.cs
- XamlUtilities.cs
- XmlElementElement.cs
- NavigationProgressEventArgs.cs
- QuaternionRotation3D.cs
- CapabilitiesUse.cs
- PaperSize.cs
- _TLSstream.cs
- SingleConverter.cs
- DesignerActionItemCollection.cs
- MachineKey.cs
- Int16AnimationUsingKeyFrames.cs
- SizeChangedEventArgs.cs
- PopOutPanel.cs
- DataBindEngine.cs
- SqlUnionizer.cs
- Light.cs
- _LocalDataStore.cs
- SiteMapDataSource.cs
- ClientBuildManager.cs
- DbProviderFactory.cs
- ObjectIDGenerator.cs
- SubMenuStyleCollection.cs
- LoginUtil.cs
- PageVisual.cs
- DataListItemEventArgs.cs
- SqlError.cs
- OleDbPropertySetGuid.cs
- FontInfo.cs
- CapacityStreamGeometryContext.cs
- MetadataPropertyCollection.cs
- ProfessionalColors.cs
- PeerUnsafeNativeCryptMethods.cs
- ActionMessageFilter.cs
- CertificateManager.cs
- NonSerializedAttribute.cs
- HostedHttpContext.cs
- CapiSafeHandles.cs
- _HeaderInfo.cs
- DefaultValueTypeConverter.cs
- ReflectTypeDescriptionProvider.cs
- Debug.cs
- AutomationFocusChangedEventArgs.cs
- TargetParameterCountException.cs
- BamlResourceDeserializer.cs
- DataGridCellEditEndingEventArgs.cs
- CursorConverter.cs
- CancelRequestedRecord.cs
- CodeAttributeArgumentCollection.cs
- DataGridViewRowCancelEventArgs.cs
- IndentedTextWriter.cs
- RegexParser.cs
- TargetException.cs
- ItemsControlAutomationPeer.cs
- RenderingBiasValidation.cs
- AttachmentCollection.cs
- SizeChangedEventArgs.cs
- PartialList.cs
- WindowsScrollBarBits.cs
- cookieexception.cs
- CellLabel.cs
- DataGridViewSelectedRowCollection.cs
- EventsTab.cs
- GlobalAllocSafeHandle.cs
- TableDetailsCollection.cs
- ServiceContractViewControl.cs
- PeerObject.cs
- CharacterMetrics.cs
- AuthenticationModuleElement.cs
- Figure.cs
- EdmProperty.cs
- WindowsListBox.cs
- DoubleMinMaxAggregationOperator.cs
- SamlAssertion.cs
- XamlSerializerUtil.cs
- AssemblyResourceLoader.cs
- TextEditorContextMenu.cs
- StrongBox.cs
- DataServiceQuery.cs
- Effect.cs
- CheckBox.cs
- StreamProxy.cs
- TripleDES.cs
- GPStream.cs
- Logging.cs
- TextPatternIdentifiers.cs
- ChooseAction.cs
- DefaultTextStore.cs
- OpenTypeLayout.cs
- SpecialNameAttribute.cs
- ToolStripItemEventArgs.cs
- TemplateControlCodeDomTreeGenerator.cs
- AbandonedMutexException.cs
- XmlSchemaSearchPattern.cs
- securitycriticaldataformultiplegetandset.cs
- Debug.cs
- BufferedResponseStream.cs