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 / 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
- SoapCodeExporter.cs
- ConfigurationPermission.cs
- ApplicationContext.cs
- ProxyRpc.cs
- ListItemsPage.cs
- EntryIndex.cs
- DateRangeEvent.cs
- DataQuery.cs
- ProfileService.cs
- HandleRef.cs
- WpfMemberInvoker.cs
- recordstatescratchpad.cs
- EmptyStringExpandableObjectConverter.cs
- ProfileSettings.cs
- baseshape.cs
- _CacheStreams.cs
- clipboard.cs
- SymbolDocumentInfo.cs
- Aggregates.cs
- WebUtil.cs
- EmbeddedMailObject.cs
- InputProcessorProfilesLoader.cs
- CroppedBitmap.cs
- HtmlTableRowCollection.cs
- Control.cs
- Shape.cs
- X509CertificateStore.cs
- __ConsoleStream.cs
- TransformerInfoCollection.cs
- CopyOfAction.cs
- TreeViewImageIndexConverter.cs
- PanelStyle.cs
- SqlInternalConnectionTds.cs
- SelectionItemPatternIdentifiers.cs
- ElementAtQueryOperator.cs
- CategoryGridEntry.cs
- GeneralTransform3D.cs
- MarginCollapsingState.cs
- ButtonBaseAdapter.cs
- FunctionMappingTranslator.cs
- CancellationState.cs
- LambdaCompiler.cs
- ModifierKeysValueSerializer.cs
- SelectManyQueryOperator.cs
- DataGridItem.cs
- DataGridViewBand.cs
- AssertSection.cs
- SizeAnimationClockResource.cs
- XmlNamespaceManager.cs
- BaseProcessor.cs
- OrderByQueryOptionExpression.cs
- ChtmlPageAdapter.cs
- SQlBooleanStorage.cs
- AssemblyBuilderData.cs
- PolyLineSegment.cs
- StreamGeometry.cs
- XmlFormatWriterGenerator.cs
- SignatureDescription.cs
- SqlCrossApplyToCrossJoin.cs
- Point4DValueSerializer.cs
- MailMessage.cs
- DetailsViewUpdatedEventArgs.cs
- DataObjectEventArgs.cs
- ScalarType.cs
- MimeWriter.cs
- FixedPageStructure.cs
- EnvelopedSignatureTransform.cs
- RepeaterCommandEventArgs.cs
- StickyNoteHelper.cs
- JournalEntry.cs
- GrammarBuilder.cs
- ProviderConnectionPointCollection.cs
- DataSpaceManager.cs
- Rijndael.cs
- UserControl.cs
- DPAPIProtectedConfigurationProvider.cs
- InfoCardBinaryReader.cs
- DependencyObjectPropertyDescriptor.cs
- DataGridViewSelectedColumnCollection.cs
- PeerNameResolver.cs
- DataGridParentRows.cs
- MetadataPropertyCollection.cs
- RadioButtonBaseAdapter.cs
- ActionMismatchAddressingException.cs
- InstancePersistenceCommand.cs
- FileStream.cs
- RuleConditionDialog.cs
- LongValidatorAttribute.cs
- mactripleDES.cs
- TextEncodedRawTextWriter.cs
- PackagingUtilities.cs
- serverconfig.cs
- XmlSchemaDatatype.cs
- WebControlParameterProxy.cs
- ActivityInstanceReference.cs
- UdpTransportSettingsElement.cs
- TextTreeObjectNode.cs
- QueryContext.cs
- WebServicesDescriptionAttribute.cs
- TaskCanceledException.cs