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
- URI.cs
- XmlNodeChangedEventManager.cs
- DeviceSpecificDialogCachedState.cs
- ThreadNeutralSemaphore.cs
- ForeignKeyConstraint.cs
- Grant.cs
- CustomErrorsSectionWrapper.cs
- AnnotationComponentManager.cs
- DetailsViewInsertEventArgs.cs
- ZoneMembershipCondition.cs
- PassportAuthenticationModule.cs
- ObjectDataSourceStatusEventArgs.cs
- _AuthenticationState.cs
- Array.cs
- WpfGeneratedKnownProperties.cs
- Boolean.cs
- OdbcDataAdapter.cs
- WizardForm.cs
- GradientBrush.cs
- WebControlAdapter.cs
- GeneralTransform2DTo3D.cs
- RouteTable.cs
- ArcSegment.cs
- ContentTextAutomationPeer.cs
- ResourcePermissionBase.cs
- HttpChannelHelper.cs
- XmlSchemaCompilationSettings.cs
- DocumentPageTextView.cs
- SafeProcessHandle.cs
- WebContext.cs
- KeyToListMap.cs
- FilterQueryOptionExpression.cs
- SerTrace.cs
- PropertyPathConverter.cs
- EventSinkActivity.cs
- KnowledgeBase.cs
- WorkflowServiceAttributesTypeConverter.cs
- StorageMappingItemCollection.cs
- _LoggingObject.cs
- EventLog.cs
- RouteValueExpressionBuilder.cs
- ReadOnlyDataSourceView.cs
- RequestBringIntoViewEventArgs.cs
- KeyValueConfigurationElement.cs
- DbConnectionOptions.cs
- TextContainer.cs
- WsatConfiguration.cs
- StringDictionary.cs
- XmlProcessingInstruction.cs
- ValueOfAction.cs
- DesignerHelpers.cs
- CodeDirectoryCompiler.cs
- AssociationProvider.cs
- HijriCalendar.cs
- initElementDictionary.cs
- URLBuilder.cs
- ItemMap.cs
- EtwTrace.cs
- Module.cs
- DefaultValueTypeConverter.cs
- MenuAutomationPeer.cs
- XmlDictionaryReaderQuotasElement.cs
- TextEffect.cs
- DynamicPropertyReader.cs
- CompositeFontInfo.cs
- ClientType.cs
- Instrumentation.cs
- StateDesigner.TransitionInfo.cs
- PerformanceCounterCategory.cs
- EndEvent.cs
- UnsafeNativeMethods.cs
- DelegateInArgument.cs
- RoleManagerEventArgs.cs
- SkipStoryboardToFill.cs
- FilterEventArgs.cs
- RestHandlerFactory.cs
- IntegerValidatorAttribute.cs
- EntityType.cs
- ServiceOperationWrapper.cs
- ObjectQuery.cs
- MorphHelpers.cs
- MouseButtonEventArgs.cs
- remotingproxy.cs
- WorkflowDataContext.cs
- DesignerHierarchicalDataSourceView.cs
- PointConverter.cs
- StaticDataManager.cs
- COM2ColorConverter.cs
- CursorConverter.cs
- CngKeyCreationParameters.cs
- Line.cs
- LocalizationParserHooks.cs
- ContactManager.cs
- SQLInt32.cs
- TypeUsageBuilder.cs
- DataGridViewTextBoxCell.cs
- PagedDataSource.cs
- ZipFileInfoCollection.cs
- Model3D.cs
- X509Utils.cs