Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / Orcas / SP / ndp / fx / src / DataWeb / Server / System / Data / Services / ChangeInterceptorAttribute.cs / 1 / ChangeInterceptorAttribute.cs
//---------------------------------------------------------------------- //// Copyright (c) Microsoft Corporation. All rights reserved. // //// Provides a class to decorate change callback methods. // // // @owner [....] //--------------------------------------------------------------------- namespace System.Data.Services { using System; using System.Diagnostics; ////// Use this attribute on a DataService method to indicate that /// this method should be invoked with data changes. /// [AttributeUsage(AttributeTargets.Method, AllowMultiple = true, Inherited = true)] public sealed class ChangeInterceptorAttribute : Attribute { ///Container name that the method filters. private readonly string entitySetName; ///Declares a new /// Name of entity set that the method intercepts changes to. public ChangeInterceptorAttribute(string entitySetName) { if (entitySetName == null) { throw Error.ArgumentNull("entitySetName"); } this.entitySetName = entitySetName; } ///instance. Entity set name that the method intercepts changes to. 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 change callback methods. // // // @owner [....] //--------------------------------------------------------------------- namespace System.Data.Services { using System; using System.Diagnostics; ////// Use this attribute on a DataService method to indicate that /// this method should be invoked with data changes. /// [AttributeUsage(AttributeTargets.Method, AllowMultiple = true, Inherited = true)] public sealed class ChangeInterceptorAttribute : Attribute { ///Container name that the method filters. private readonly string entitySetName; ///Declares a new /// Name of entity set that the method intercepts changes to. public ChangeInterceptorAttribute(string entitySetName) { if (entitySetName == null) { throw Error.ArgumentNull("entitySetName"); } this.entitySetName = entitySetName; } ///instance. Entity set name that the method intercepts changes to. 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
- IdentitySection.cs
- VersionUtil.cs
- DataSourceHelper.cs
- MultiByteCodec.cs
- BooleanFunctions.cs
- WebConfigurationFileMap.cs
- WaitForChangedResult.cs
- FormatSettings.cs
- StorageRoot.cs
- ApplicationBuildProvider.cs
- DocumentViewerBaseAutomationPeer.cs
- AmbiguousMatchException.cs
- BaseAppDomainProtocolHandler.cs
- FtpCachePolicyElement.cs
- DataGridColumnHeadersPresenter.cs
- NestPullup.cs
- FileDialog_Vista_Interop.cs
- ItemContainerGenerator.cs
- FormsAuthenticationConfiguration.cs
- WithStatement.cs
- ScriptReferenceEventArgs.cs
- BufferModeSettings.cs
- SignedInfo.cs
- ResolveCriteria.cs
- wmiprovider.cs
- DataSourceCacheDurationConverter.cs
- TemplatedMailWebEventProvider.cs
- ObjectStateManager.cs
- StylusButtonEventArgs.cs
- WeakEventTable.cs
- PathFigure.cs
- AmbientLight.cs
- ImplicitInputBrush.cs
- TextEffect.cs
- PopupRoot.cs
- CustomPopupPlacement.cs
- ToolStripItemTextRenderEventArgs.cs
- SystemPens.cs
- DescendantBaseQuery.cs
- ErrorWrapper.cs
- DrawingAttributeSerializer.cs
- PeerTransportListenAddressConverter.cs
- ResolveNameEventArgs.cs
- SessionEndingEventArgs.cs
- WebPartActionVerb.cs
- Brushes.cs
- MetabaseSettingsIis7.cs
- WebBrowserPermission.cs
- ListBoxItemAutomationPeer.cs
- SpecialFolderEnumConverter.cs
- MemberCollection.cs
- QilSortKey.cs
- VisualStyleInformation.cs
- _StreamFramer.cs
- HtmlPanelAdapter.cs
- InstallerTypeAttribute.cs
- ErrorLog.cs
- OpenTypeCommon.cs
- PropVariant.cs
- ActiveXContainer.cs
- PixelFormat.cs
- XmlSchemaInclude.cs
- TextBox.cs
- JsonReaderWriterFactory.cs
- DbConnectionOptions.cs
- MethodImplAttribute.cs
- PopupRootAutomationPeer.cs
- CaretElement.cs
- LineServicesCallbacks.cs
- InstalledFontCollection.cs
- Image.cs
- XmlSubtreeReader.cs
- EntityViewGenerationAttribute.cs
- StrongTypingException.cs
- DataGridItemCollection.cs
- DataGridState.cs
- GroupStyle.cs
- HttpProfileBase.cs
- Debug.cs
- ExpandCollapseProviderWrapper.cs
- DataSysAttribute.cs
- ParameterBuilder.cs
- GeneralTransform3DTo2D.cs
- UnsafeNativeMethods.cs
- SizeConverter.cs
- AnonymousIdentificationSection.cs
- FamilyTypefaceCollection.cs
- WebPartUserCapability.cs
- StringDictionary.cs
- Guid.cs
- PathData.cs
- CapacityStreamGeometryContext.cs
- ResourceDescriptionAttribute.cs
- DesignTimeTemplateParser.cs
- HwndTarget.cs
- Faults.cs
- PeerNodeTraceRecord.cs
- DesignerVerbCollection.cs
- HttpHandlersSection.cs
- _NegoStream.cs