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
- TextDecorationUnitValidation.cs
- UserMapPath.cs
- WindowsListViewGroup.cs
- InputMethodStateTypeInfo.cs
- RegistryPermission.cs
- FrugalList.cs
- MembershipSection.cs
- DurableInstanceProvider.cs
- RSAPKCS1SignatureFormatter.cs
- DescendentsWalker.cs
- ModelServiceImpl.cs
- DesigntimeLicenseContext.cs
- DataSourceConverter.cs
- TemplateControlParser.cs
- TileBrush.cs
- ResourceReferenceKeyNotFoundException.cs
- DocumentSequence.cs
- MLangCodePageEncoding.cs
- XpsPackagingPolicy.cs
- HttpHandlersSection.cs
- CaseStatement.cs
- ScrollEventArgs.cs
- AdapterDictionary.cs
- ArrayMergeHelper.cs
- ResolveDuplexAsyncResult.cs
- _TimerThread.cs
- RepeaterCommandEventArgs.cs
- EventTrigger.cs
- IApplicationTrustManager.cs
- PropertyRecord.cs
- Int64Storage.cs
- ConfigurationManager.cs
- IssuedTokenClientBehaviorsElementCollection.cs
- BaseCAMarshaler.cs
- Token.cs
- HttpHandlerAction.cs
- WindowsSecurityToken.cs
- PackageProperties.cs
- CheckBoxFlatAdapter.cs
- HierarchicalDataBoundControl.cs
- BufferModesCollection.cs
- ActivityExecutionContextCollection.cs
- FixedSOMSemanticBox.cs
- EventLogEntryCollection.cs
- OwnerDrawPropertyBag.cs
- GlyphTypeface.cs
- ScaleTransform3D.cs
- SaveFileDialog.cs
- ByteAnimation.cs
- SoapEnumAttribute.cs
- Quaternion.cs
- _HelperAsyncResults.cs
- SecureEnvironment.cs
- HttpModule.cs
- TextEditorDragDrop.cs
- SelectionWordBreaker.cs
- XmlWriterTraceListener.cs
- XmlSchemaGroup.cs
- XmlAggregates.cs
- XmlReader.cs
- ViewStateChangedEventArgs.cs
- PaintValueEventArgs.cs
- ScriptingRoleServiceSection.cs
- DynamicILGenerator.cs
- NameSpaceEvent.cs
- OracleRowUpdatingEventArgs.cs
- ScriptIgnoreAttribute.cs
- AmbientLight.cs
- LinkArea.cs
- ApplicationFileParser.cs
- RepeaterItemEventArgs.cs
- SecurityProtocolCorrelationState.cs
- DiagnosticStrings.cs
- ReturnValue.cs
- COM2ExtendedBrowsingHandler.cs
- DefaultPropertyAttribute.cs
- RemotingException.cs
- FormsAuthenticationCredentials.cs
- ObjectSet.cs
- OptimizedTemplateContentHelper.cs
- EventProxy.cs
- Int32KeyFrameCollection.cs
- UInt32Storage.cs
- Roles.cs
- RequestQueryProcessor.cs
- TableLayoutPanelDesigner.cs
- SourceChangedEventArgs.cs
- TokenFactoryFactory.cs
- PriorityQueue.cs
- XmlJsonReader.cs
- CatalogZoneBase.cs
- VScrollBar.cs
- BufferedStream.cs
- ObjectConverter.cs
- DocumentCollection.cs
- CellIdBoolean.cs
- DbModificationCommandTree.cs
- SplineQuaternionKeyFrame.cs
- JapaneseLunisolarCalendar.cs
- StringUtil.cs