Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / DataWeb / Server / System / Data / Services / ChangeInterceptorAttribute.cs / 1305376 / 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.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- XmlToDatasetMap.cs
- RoleManagerModule.cs
- TextTreeNode.cs
- SystemTcpConnection.cs
- DataViewSetting.cs
- NativeWindow.cs
- SafeBitVector32.cs
- StorageRoot.cs
- GrammarBuilderRuleRef.cs
- ScriptingWebServicesSectionGroup.cs
- InputElement.cs
- AlternateViewCollection.cs
- Comparer.cs
- NTAccount.cs
- LiteralText.cs
- SerialStream.cs
- SiteMapPath.cs
- DeclarativeCatalogPart.cs
- Emitter.cs
- Atom10FormatterFactory.cs
- SapiInterop.cs
- AssemblyAttributes.cs
- DesignerPerfEventProvider.cs
- ServiceModelInstallComponent.cs
- GACIdentityPermission.cs
- ExtendedProtectionPolicyTypeConverter.cs
- Ipv6Element.cs
- AssemblyName.cs
- autovalidator.cs
- ScalarConstant.cs
- Peer.cs
- RichTextBoxAutomationPeer.cs
- AutomationProperties.cs
- SelectQueryOperator.cs
- Typography.cs
- CompatibleComparer.cs
- DataGridViewSelectedColumnCollection.cs
- OperationCanceledException.cs
- XmlIlTypeHelper.cs
- ContentPlaceHolder.cs
- XmlWellformedWriterHelpers.cs
- BulletDecorator.cs
- XmlSchemaAnnotation.cs
- SoapIgnoreAttribute.cs
- URI.cs
- Lasso.cs
- UrlAuthFailedErrorFormatter.cs
- ButtonPopupAdapter.cs
- DeclarativeCatalogPartDesigner.cs
- PropertyEmitter.cs
- UInt16Storage.cs
- ListViewItemSelectionChangedEvent.cs
- OpCodes.cs
- X509WindowsSecurityToken.cs
- DynamicMethod.cs
- AsyncOperationContext.cs
- SqlCacheDependencyDatabase.cs
- DataPagerCommandEventArgs.cs
- TdsParserStateObject.cs
- HybridWebProxyFinder.cs
- WebPartConnectVerb.cs
- Column.cs
- _FixedSizeReader.cs
- ExceptionUtil.cs
- X509ScopedServiceCertificateElementCollection.cs
- templategroup.cs
- IndentedTextWriter.cs
- RealProxy.cs
- BindingElementExtensionElement.cs
- XmlSchemaComplexContent.cs
- JpegBitmapDecoder.cs
- ManagementOperationWatcher.cs
- JapaneseCalendar.cs
- WindowsGraphicsWrapper.cs
- StateManagedCollection.cs
- ExpressionBindingCollection.cs
- HashSetEqualityComparer.cs
- DataGridRelationshipRow.cs
- CompilerTypeWithParams.cs
- SettingsAttributeDictionary.cs
- TextContainerChangedEventArgs.cs
- DispatcherObject.cs
- counter.cs
- DebugView.cs
- ProfileGroupSettingsCollection.cs
- ImageDrawing.cs
- EntityDataSourceDesigner.cs
- DataGridViewCellValidatingEventArgs.cs
- HistoryEventArgs.cs
- CatalogZone.cs
- XmlCodeExporter.cs
- Transform3D.cs
- DefaultEventAttribute.cs
- Calendar.cs
- TemplateControlBuildProvider.cs
- XPathPatternParser.cs
- ImmutablePropertyDescriptorGridEntry.cs
- SqlNodeTypeOperators.cs
- DbParameterHelper.cs
- ObjectItemCollectionAssemblyCacheEntry.cs