Code:
/ 4.0 / 4.0 / untmp / 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.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ServiceProviders.cs
- TrustManagerPromptUI.cs
- StorageTypeMapping.cs
- HostedElements.cs
- XPathNavigatorReader.cs
- EntityAdapter.cs
- ObjectTag.cs
- BevelBitmapEffect.cs
- RewritingPass.cs
- BitStack.cs
- _AutoWebProxyScriptHelper.cs
- ThumbButtonInfo.cs
- XPathAncestorQuery.cs
- FunctionDescription.cs
- RectAnimationBase.cs
- ProcessModuleCollection.cs
- SafeLocalMemHandle.cs
- DataObject.cs
- rsa.cs
- XmlAttributeOverrides.cs
- embossbitmapeffect.cs
- StreamGeometryContext.cs
- RecoverInstanceLocksCommand.cs
- FontStyles.cs
- _BaseOverlappedAsyncResult.cs
- ValueUnavailableException.cs
- CodeStatement.cs
- DiscoveryDocumentSearchPattern.cs
- CodeTypeMemberCollection.cs
- DbDataReader.cs
- DataSetMappper.cs
- ObjectToIdCache.cs
- TextDecoration.cs
- ItemChangedEventArgs.cs
- MsmqElementBase.cs
- SwitchDesigner.xaml.cs
- RecordBuilder.cs
- TextParagraph.cs
- MimePart.cs
- Splitter.cs
- CodeAttributeArgumentCollection.cs
- NotifyCollectionChangedEventArgs.cs
- DataGridRelationshipRow.cs
- SafeHandle.cs
- ServiceOperationParameter.cs
- RuleInfoComparer.cs
- DisableDpiAwarenessAttribute.cs
- RepeaterItem.cs
- EntityReference.cs
- FormsAuthenticationConfiguration.cs
- NullableConverter.cs
- UserPrincipalNameElement.cs
- SqlNotificationEventArgs.cs
- XhtmlBasicTextBoxAdapter.cs
- PageContent.cs
- NamespaceInfo.cs
- MethodBody.cs
- TextTreeObjectNode.cs
- CodePageUtils.cs
- Hash.cs
- CompileLiteralTextParser.cs
- HMACRIPEMD160.cs
- RowsCopiedEventArgs.cs
- GridLength.cs
- FileRegion.cs
- DbProviderConfigurationHandler.cs
- VisualCollection.cs
- GenericParameterDataContract.cs
- TemplateControl.cs
- CopyNamespacesAction.cs
- AuthorizationRule.cs
- SynchronizedReadOnlyCollection.cs
- CorrelationKey.cs
- GZipStream.cs
- PropertyManager.cs
- EDesignUtil.cs
- NoResizeHandleGlyph.cs
- DataGridViewColumn.cs
- SessionState.cs
- InheritanceRules.cs
- OSEnvironmentHelper.cs
- DateTimePicker.cs
- VsPropertyGrid.cs
- SqlTriggerAttribute.cs
- CardSpaceSelector.cs
- METAHEADER.cs
- DataTrigger.cs
- Point4D.cs
- ListBindingConverter.cs
- TypeUtils.cs
- WebPartConnectionsConnectVerb.cs
- ConfigPathUtility.cs
- EntityKeyElement.cs
- TextPointerBase.cs
- ButtonColumn.cs
- ProtocolProfile.cs
- EditBehavior.cs
- TriggerCollection.cs
- InternalPermissions.cs
- HelpKeywordAttribute.cs