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
- HorizontalAlignConverter.cs
- NameHandler.cs
- IsolatedStorageFile.cs
- FocusManager.cs
- SelectiveScrollingGrid.cs
- SafeTimerHandle.cs
- EntityExpressionVisitor.cs
- DefinitionBase.cs
- StandardToolWindows.cs
- PropertyMapper.cs
- DeferredBinaryDeserializerExtension.cs
- QueryMatcher.cs
- Constant.cs
- MultiBindingExpression.cs
- LineUtil.cs
- PickDesigner.xaml.cs
- OrderedHashRepartitionStream.cs
- ValidationEventArgs.cs
- DiscoveryMessageSequence.cs
- CodeExpressionCollection.cs
- DataStorage.cs
- WorkflowServiceBehavior.cs
- BoundsDrawingContextWalker.cs
- AvTraceDetails.cs
- ColorConverter.cs
- BamlBinaryWriter.cs
- XmlIgnoreAttribute.cs
- PersonalizationStateInfo.cs
- XmlAtomicValue.cs
- MatchingStyle.cs
- ImageFormatConverter.cs
- SHA1Managed.cs
- ArraySet.cs
- NGCSerializerAsync.cs
- ApplicationInfo.cs
- WSAddressing10ProblemHeaderQNameFault.cs
- TryExpression.cs
- OrderedDictionaryStateHelper.cs
- TabletCollection.cs
- PingOptions.cs
- TabRenderer.cs
- RightsManagementEncryptionTransform.cs
- TcpConnectionPool.cs
- HierarchicalDataSourceControl.cs
- QilExpression.cs
- ServiceActivationException.cs
- CodeAccessPermission.cs
- InputScopeAttribute.cs
- _ChunkParse.cs
- ConstructorNeedsTagAttribute.cs
- SettingsPropertyCollection.cs
- ProfilePropertySettings.cs
- MenuAutoFormat.cs
- Environment.cs
- CryptoApi.cs
- TableRowsCollectionEditor.cs
- cryptoapiTransform.cs
- DispatcherHookEventArgs.cs
- SafeThemeHandle.cs
- EnumerableRowCollection.cs
- StorageAssociationTypeMapping.cs
- ElementUtil.cs
- BookmarkNameHelper.cs
- WebProxyScriptElement.cs
- Interfaces.cs
- XmlSchemaProviderAttribute.cs
- RolePrincipal.cs
- DbMetaDataColumnNames.cs
- KnownTypeAttribute.cs
- QilCloneVisitor.cs
- XsltFunctions.cs
- PropertyFilterAttribute.cs
- ReadOnlyDictionary.cs
- Crc32.cs
- CommandBindingCollection.cs
- AsyncOperationManager.cs
- DataGridComboBoxColumn.cs
- HwndMouseInputProvider.cs
- DnsEndpointIdentity.cs
- IdentityModelDictionary.cs
- UnauthorizedWebPart.cs
- input.cs
- LayoutEditorPart.cs
- CapabilitiesAssignment.cs
- GridItemPatternIdentifiers.cs
- SqlConnectionStringBuilder.cs
- URLEditor.cs
- SemaphoreFullException.cs
- Misc.cs
- TransportSecurityProtocolFactory.cs
- QueryCacheKey.cs
- AccessorTable.cs
- ProxyWebPart.cs
- _SingleItemRequestCache.cs
- ReadOnlyDataSource.cs
- DesigntimeLicenseContextSerializer.cs
- ToolStripContentPanel.cs
- Process.cs
- DefaultBindingPropertyAttribute.cs
- StructuralType.cs