Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / DataWeb / Server / System / Data / Services / DataServiceBehavior.cs / 1305376 / DataServiceBehavior.cs
//---------------------------------------------------------------------- //// Copyright (c) Microsoft Corporation. All rights reserved. // //// Holds configuration of service behavior. // // // @owner [....] //--------------------------------------------------------------------- namespace System.Data.Services { using System.Data.Services.Common; ///Use this class to add settings that define service behavior. public sealed class DataServiceBehavior { ////// Initializes a new internal DataServiceBehavior() { this.InvokeInterceptorsOnLinkDelete = true; this.AcceptCountRequests = true; this.AcceptProjectionRequests = true; this.MaxProtocolVersion = DataServiceProtocolVersion.V1; } ///. /// /// Whether to invoke change interceptor on link delete. /// public bool InvokeInterceptorsOnLinkDelete { get; set; } ////// Whether $count and $inlinecount requests should be accepted /// public bool AcceptCountRequests { get; set; } ////// Whether projection requests should be accepted /// public bool AcceptProjectionRequests { get; set; } ////// Max version of the response sent by server /// public DataServiceProtocolVersion MaxProtocolVersion { get; set; } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //---------------------------------------------------------------------- //// Copyright (c) Microsoft Corporation. All rights reserved. // //// Holds configuration of service behavior. // // // @owner [....] //--------------------------------------------------------------------- namespace System.Data.Services { using System.Data.Services.Common; ///Use this class to add settings that define service behavior. public sealed class DataServiceBehavior { ////// Initializes a new internal DataServiceBehavior() { this.InvokeInterceptorsOnLinkDelete = true; this.AcceptCountRequests = true; this.AcceptProjectionRequests = true; this.MaxProtocolVersion = DataServiceProtocolVersion.V1; } ///. /// /// Whether to invoke change interceptor on link delete. /// public bool InvokeInterceptorsOnLinkDelete { get; set; } ////// Whether $count and $inlinecount requests should be accepted /// public bool AcceptCountRequests { get; set; } ////// Whether projection requests should be accepted /// public bool AcceptProjectionRequests { get; set; } ////// Max version of the response sent by server /// public DataServiceProtocolVersion MaxProtocolVersion { get; set; } } } // 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
- WCFModelStrings.Designer.cs
- XsdDuration.cs
- CodeDOMProvider.cs
- ProfileService.cs
- NameTable.cs
- _HTTPDateParse.cs
- RawStylusInputCustomDataList.cs
- codemethodreferenceexpression.cs
- EventSourceCreationData.cs
- ComponentConverter.cs
- PolyLineSegmentFigureLogic.cs
- DbProviderSpecificTypePropertyAttribute.cs
- ManagedIStream.cs
- Compiler.cs
- InputReport.cs
- SystemColorTracker.cs
- _ConnectionGroup.cs
- ToolboxBitmapAttribute.cs
- ImageFormatConverter.cs
- DescendentsWalkerBase.cs
- securitycriticaldata.cs
- CodeDomConfigurationHandler.cs
- MD5CryptoServiceProvider.cs
- ConnectionManagementSection.cs
- MobilePage.cs
- IgnoreSectionHandler.cs
- EntityDataSourceMemberPath.cs
- MetadataException.cs
- WeakReference.cs
- DataListItemCollection.cs
- PriorityQueue.cs
- Logging.cs
- UpdateManifestForBrowserApplication.cs
- StreamUpgradeInitiator.cs
- VisualTreeHelper.cs
- VectorAnimationUsingKeyFrames.cs
- SQLMoney.cs
- RouteParser.cs
- ErrorWebPart.cs
- SpAudioStreamWrapper.cs
- DbXmlEnabledProviderManifest.cs
- XamlSerializationHelper.cs
- VersionUtil.cs
- XmlArrayItemAttribute.cs
- TypeUsage.cs
- SoapCodeExporter.cs
- SynchronizedDispatch.cs
- _Semaphore.cs
- ObjectDataSourceView.cs
- QueryResult.cs
- FormatPage.cs
- DetailsViewPagerRow.cs
- ThreadStartException.cs
- SoapExtension.cs
- PropertyConverter.cs
- EncoderReplacementFallback.cs
- XamlTypeMapperSchemaContext.cs
- FormattedText.cs
- ResourceCodeDomSerializer.cs
- CreateSequenceResponse.cs
- IDispatchConstantAttribute.cs
- DataSourceProvider.cs
- BulletedListEventArgs.cs
- OverflowException.cs
- BinaryUtilClasses.cs
- MultipartIdentifier.cs
- ProfileProvider.cs
- UIElement.cs
- WebPartPersonalization.cs
- InvalidTimeZoneException.cs
- NativeMethods.cs
- NotifyCollectionChangedEventArgs.cs
- AdapterDictionary.cs
- ConsumerConnectionPoint.cs
- HandlerFactoryWrapper.cs
- WasHttpHandlersInstallComponent.cs
- followingquery.cs
- ObjectDataSourceFilteringEventArgs.cs
- GuidelineCollection.cs
- UpDownBase.cs
- ActivityDefaults.cs
- EntityTypeEmitter.cs
- IPeerNeighbor.cs
- CreateDataSourceDialog.cs
- DocumentGridContextMenu.cs
- DynamicPropertyReader.cs
- RegistryPermission.cs
- ObjectKeyFrameCollection.cs
- LockCookie.cs
- LinearGradientBrush.cs
- NavigationProperty.cs
- ButtonPopupAdapter.cs
- TextSegment.cs
- SourceFileBuildProvider.cs
- ExtensionQuery.cs
- XsltFunctions.cs
- XmlSignificantWhitespace.cs
- LayoutExceptionEventArgs.cs
- ObjectDataSourceDisposingEventArgs.cs
- CalendarDateRangeChangingEventArgs.cs