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
- HtmlListAdapter.cs
- DataGridViewAdvancedBorderStyle.cs
- ScriptControlDescriptor.cs
- ResourceProperty.cs
- DrawingImage.cs
- StrokeCollectionDefaultValueFactory.cs
- CachedBitmap.cs
- CqlLexerHelpers.cs
- ResourcesBuildProvider.cs
- StreamReader.cs
- DBConnectionString.cs
- WorkflowRuntime.cs
- RewritingPass.cs
- SelectorItemAutomationPeer.cs
- InteropAutomationProvider.cs
- InputScopeConverter.cs
- TraceUtils.cs
- KeyConstraint.cs
- ImportCatalogPart.cs
- ContextQuery.cs
- EntityKeyElement.cs
- EntitySetDataBindingList.cs
- FragmentQuery.cs
- TextSpanModifier.cs
- IOException.cs
- ProfessionalColorTable.cs
- ConfigXmlCDataSection.cs
- Int32Rect.cs
- DesignerActionMethodItem.cs
- SuppressMergeCheckAttribute.cs
- Scene3D.cs
- CultureInfoConverter.cs
- PartialList.cs
- XmlTextReader.cs
- LocatorManager.cs
- LineVisual.cs
- XmlnsDictionary.cs
- Logging.cs
- Substitution.cs
- PerfCounters.cs
- Baml6Assembly.cs
- XmlSchemaValidationException.cs
- XmlCDATASection.cs
- TemplateComponentConnector.cs
- XmlSchemaImport.cs
- TreeView.cs
- BidOverLoads.cs
- BaseParser.cs
- SlipBehavior.cs
- Exceptions.cs
- CryptoKeySecurity.cs
- LinkButton.cs
- FontNameEditor.cs
- _SslStream.cs
- DataGridViewCellMouseEventArgs.cs
- FormViewDeletedEventArgs.cs
- ObjectDataSourceSelectingEventArgs.cs
- ObjectAnimationBase.cs
- TextRunCacheImp.cs
- StateMachineSubscriptionManager.cs
- OdbcParameterCollection.cs
- KeyBinding.cs
- StaticExtensionConverter.cs
- SendMailErrorEventArgs.cs
- AssemblyBuilder.cs
- GetCertificateRequest.cs
- OptimizedTemplateContent.cs
- OutputScope.cs
- AmbiguousMatchException.cs
- DataGridRow.cs
- TreeNodeConverter.cs
- WebControlParameterProxy.cs
- RecommendedAsConfigurableAttribute.cs
- CapabilitiesRule.cs
- OverflowException.cs
- KeyToListMap.cs
- NativeWindow.cs
- SevenBitStream.cs
- TextEndOfSegment.cs
- XmlNamedNodeMap.cs
- WebPartActionVerb.cs
- FactorySettingsElement.cs
- CommandDevice.cs
- LayoutEvent.cs
- sqlstateclientmanager.cs
- ByValueEqualityComparer.cs
- DeviceSpecificChoiceCollection.cs
- ConfigXmlComment.cs
- TransformFinalBlockRequest.cs
- EntitySqlException.cs
- ConfigurationPermission.cs
- QueryTaskGroupState.cs
- NameValueConfigurationCollection.cs
- TableItemStyle.cs
- MimePart.cs
- DataGridViewImageColumn.cs
- TypeContext.cs
- XPathMultyIterator.cs
- StringAnimationUsingKeyFrames.cs
- QueryContinueDragEvent.cs