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
- FormCollection.cs
- InvalidDataException.cs
- COAUTHINFO.cs
- TemplateColumn.cs
- ObjectStateEntryDbDataRecord.cs
- JournalEntry.cs
- MasterPage.cs
- MetadataWorkspace.cs
- VisualBasicExpressionConverter.cs
- SqlIdentifier.cs
- ApplicationDirectory.cs
- ContentControl.cs
- Enum.cs
- LambdaCompiler.Logical.cs
- storagemappingitemcollection.viewdictionary.cs
- ProjectionPruner.cs
- SecurityDocument.cs
- GetLedgerEntryForRecipientRequest.cs
- RequestResizeEvent.cs
- Message.cs
- EditorZone.cs
- XmlSchemaImporter.cs
- NamespaceDisplay.xaml.cs
- CheckoutException.cs
- CqlGenerator.cs
- HttpCapabilitiesBase.cs
- XpsFontSerializationService.cs
- ManualResetEvent.cs
- DragEvent.cs
- CustomAssemblyResolver.cs
- CounterCreationDataCollection.cs
- CalendarDesigner.cs
- versioninfo.cs
- HitTestParameters3D.cs
- SecurityRuntime.cs
- ProjectionPathBuilder.cs
- VisualStateManager.cs
- PrincipalPermission.cs
- ValidationPropertyAttribute.cs
- FamilyMapCollection.cs
- OleDbConnection.cs
- UrlMappingsSection.cs
- QueryMath.cs
- ListSortDescription.cs
- UncommonField.cs
- CurrentTimeZone.cs
- CodeDomSerializerException.cs
- ObjectResult.cs
- FileLoadException.cs
- DragDrop.cs
- KeyEventArgs.cs
- DataObject.cs
- BuiltInPermissionSets.cs
- IsolationInterop.cs
- localization.cs
- ErrorHandler.cs
- AsyncContentLoadedEventArgs.cs
- DesignerOptionService.cs
- MetadataUtilsSmi.cs
- PageAsyncTaskManager.cs
- MetadataItem_Static.cs
- ToolStripAdornerWindowService.cs
- HttpStreamFormatter.cs
- IPEndPoint.cs
- rsa.cs
- Constants.cs
- FlowDocumentReader.cs
- BinaryNode.cs
- SequenceRangeCollection.cs
- ColumnCollection.cs
- DurationConverter.cs
- CodeAttributeDeclaration.cs
- HostExecutionContextManager.cs
- StringHelper.cs
- FunctionNode.cs
- InitializerFacet.cs
- SqlDataSourceConfigureSortForm.cs
- StorageEndPropertyMapping.cs
- BitmapPalette.cs
- MaskedTextProvider.cs
- Vector3DConverter.cs
- AssemblyResourceLoader.cs
- BamlWriter.cs
- SqlCharStream.cs
- HtmlGenericControl.cs
- TrimSurroundingWhitespaceAttribute.cs
- ConditionalBranch.cs
- ConsumerConnectionPointCollection.cs
- SnapLine.cs
- ProcessThreadDesigner.cs
- StylusPlugin.cs
- HtmlElementEventArgs.cs
- SessionPageStateSection.cs
- ChooseAction.cs
- FontWeightConverter.cs
- PackageRelationshipSelector.cs
- ParseElementCollection.cs
- StylusOverProperty.cs
- OleDbSchemaGuid.cs
- ToolStripItemDesigner.cs