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
- ParentControlDesigner.cs
- AssemblyLoader.cs
- control.ime.cs
- SafeEventLogWriteHandle.cs
- ConfigurationStrings.cs
- MetadataArtifactLoaderResource.cs
- NetCodeGroup.cs
- UpdateExpressionVisitor.cs
- OverflowException.cs
- ConfigurationStrings.cs
- ToolStripProfessionalLowResolutionRenderer.cs
- XPathBinder.cs
- Transform3D.cs
- SctClaimSerializer.cs
- SqlFactory.cs
- NopReturnReader.cs
- RequestResponse.cs
- DispatchRuntime.cs
- MsmqAppDomainProtocolHandler.cs
- wmiprovider.cs
- SessionPageStateSection.cs
- DataPagerFieldCollection.cs
- DataControlFieldCollection.cs
- FixedSOMSemanticBox.cs
- LineGeometry.cs
- XmlDataSource.cs
- ToolBarButtonDesigner.cs
- WorkflowApplicationUnhandledExceptionEventArgs.cs
- DbgUtil.cs
- CollectionConverter.cs
- QueuedDeliveryRequirementsMode.cs
- WindowsNonControl.cs
- DrawingVisualDrawingContext.cs
- SchemaCollectionPreprocessor.cs
- DirtyTextRange.cs
- InternalTransaction.cs
- CompilationPass2Task.cs
- Int64AnimationBase.cs
- TcpConnectionPoolSettingsElement.cs
- WebContentFormatHelper.cs
- DelimitedListTraceListener.cs
- Win32KeyboardDevice.cs
- CFStream.cs
- TextContainerChangedEventArgs.cs
- GlobalizationSection.cs
- WindowsMenu.cs
- PropertyEntry.cs
- TaskFileService.cs
- TableStyle.cs
- List.cs
- AttachedAnnotation.cs
- Soap.cs
- CapiNative.cs
- DataGridViewEditingControlShowingEventArgs.cs
- CompiledRegexRunnerFactory.cs
- MouseDevice.cs
- TranslateTransform3D.cs
- MimeMultiPart.cs
- GridViewColumnCollection.cs
- TargetConverter.cs
- XmlSchemaSequence.cs
- Base64Decoder.cs
- NavigationWindowAutomationPeer.cs
- RoleManagerSection.cs
- HtmlTableRow.cs
- AbandonedMutexException.cs
- ComponentChangingEvent.cs
- InstallerTypeAttribute.cs
- ListDictionaryInternal.cs
- DiscoveryUtility.cs
- DoubleMinMaxAggregationOperator.cs
- ZipIOExtraFieldElement.cs
- SecurityTokenResolver.cs
- PassportPrincipal.cs
- EventArgs.cs
- HttpGetServerProtocol.cs
- FormatConvertedBitmap.cs
- ColumnResizeAdorner.cs
- ObjectDataSourceStatusEventArgs.cs
- ToolStripDesignerAvailabilityAttribute.cs
- ListManagerBindingsCollection.cs
- SelectionProviderWrapper.cs
- Track.cs
- InfoCardRSAOAEPKeyExchangeFormatter.cs
- DbConnectionPoolGroup.cs
- RenderDataDrawingContext.cs
- _ProxyChain.cs
- Path.cs
- ResourceContainer.cs
- ExpandSegment.cs
- DSASignatureDeformatter.cs
- XamlBrushSerializer.cs
- WebAdminConfigurationHelper.cs
- DbProviderServices.cs
- BufferCache.cs
- EncryptedKeyIdentifierClause.cs
- CompilationSection.cs
- CompositionTarget.cs
- WindowsStatusBar.cs
- MouseActionConverter.cs