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
- SerializerWriterEventHandlers.cs
- CompilerParameters.cs
- MessageQueuePermissionEntry.cs
- CmsInterop.cs
- CanonicalFontFamilyReference.cs
- EmptyEnumerable.cs
- CqlBlock.cs
- RightsManagementPermission.cs
- PauseStoryboard.cs
- DisplayInformation.cs
- ParenthesizePropertyNameAttribute.cs
- EntityFunctions.cs
- _ConnectionGroup.cs
- EventInfo.cs
- DbParameterHelper.cs
- OLEDB_Util.cs
- DocumentPageView.cs
- BuilderInfo.cs
- PersonalizationDictionary.cs
- ChangeConflicts.cs
- StrokeRenderer.cs
- Font.cs
- XmlSchemaImporter.cs
- WebWorkflowRole.cs
- TokenBasedSet.cs
- PeerHelpers.cs
- MaskDescriptor.cs
- WindowsPrincipal.cs
- PageHandlerFactory.cs
- XMLUtil.cs
- FocusChangedEventArgs.cs
- WsrmFault.cs
- Utils.cs
- Compiler.cs
- NativeMethods.cs
- TemplateControlParser.cs
- SoapElementAttribute.cs
- Html32TextWriter.cs
- ScalarType.cs
- HwndSource.cs
- MarshalDirectiveException.cs
- ComPlusDiagnosticTraceRecords.cs
- ColorTransformHelper.cs
- DataControlFieldCell.cs
- SettingsPropertyWrongTypeException.cs
- ClientEventManager.cs
- WebSysDefaultValueAttribute.cs
- TypeLibConverter.cs
- Assert.cs
- ResourceDefaultValueAttribute.cs
- StickyNote.cs
- WebPartConnectionsCloseVerb.cs
- DateTimeFormat.cs
- CellCreator.cs
- IdentityElement.cs
- SoapSchemaExporter.cs
- ColumnBinding.cs
- HatchBrush.cs
- IntSecurity.cs
- DataBindingCollection.cs
- RIPEMD160Managed.cs
- CqlBlock.cs
- _SSPISessionCache.cs
- ComponentDispatcherThread.cs
- ImageClickEventArgs.cs
- BitArray.cs
- OutArgumentConverter.cs
- SortQuery.cs
- ServiceOperationWrapper.cs
- HtmlControl.cs
- ComAdminInterfaces.cs
- WebPartConnectionsCloseVerb.cs
- TransactionContextValidator.cs
- DataGridViewColumnDesignTimeVisibleAttribute.cs
- _DisconnectOverlappedAsyncResult.cs
- Route.cs
- NetworkInterface.cs
- XmlQualifiedName.cs
- CalendarDay.cs
- ResourceManagerWrapper.cs
- AuthenticatingEventArgs.cs
- SHA512Managed.cs
- FileRecordSequenceHelper.cs
- ListViewItemMouseHoverEvent.cs
- Point4D.cs
- XmlNamespaceMapping.cs
- DesignerCommandSet.cs
- _PooledStream.cs
- RegexMatchCollection.cs
- XamlHostingSection.cs
- XamlRtfConverter.cs
- EmptyEnumerator.cs
- RequestUriProcessor.cs
- VectorAnimationBase.cs
- TimerExtension.cs
- DataGridViewCellStyle.cs
- ColumnWidthChangedEvent.cs
- ValueHandle.cs
- AspNetHostingPermission.cs
- CheckBoxList.cs