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
- OperatingSystem.cs
- DeviceContext.cs
- PropertyTabAttribute.cs
- ISCIIEncoding.cs
- DoubleStorage.cs
- RSAOAEPKeyExchangeDeformatter.cs
- DataRowChangeEvent.cs
- DynamicUpdateCommand.cs
- WebBrowser.cs
- CreateUserErrorEventArgs.cs
- KeySplineConverter.cs
- PropertyKey.cs
- EntityType.cs
- ListCollectionView.cs
- TreeViewBindingsEditorForm.cs
- WebResourceAttribute.cs
- UnknownBitmapDecoder.cs
- GridViewUpdateEventArgs.cs
- AudioFormatConverter.cs
- SimpleNameService.cs
- AttachInfo.cs
- _IPv6Address.cs
- CurrentTimeZone.cs
- _SpnDictionary.cs
- TreeViewImageIndexConverter.cs
- DependencyObjectProvider.cs
- DependentTransaction.cs
- TextFormatterImp.cs
- DataGridViewCheckBoxColumn.cs
- WpfSharedXamlSchemaContext.cs
- Logging.cs
- RangeValidator.cs
- NavigationProgressEventArgs.cs
- TraceContext.cs
- CalloutQueueItem.cs
- Transform.cs
- StrokeCollectionDefaultValueFactory.cs
- FileSystemEventArgs.cs
- LayoutExceptionEventArgs.cs
- IdentityVerifier.cs
- PassportPrincipal.cs
- HttpProtocolImporter.cs
- WebBrowsableAttribute.cs
- SrgsDocument.cs
- InstanceCreationEditor.cs
- ISO2022Encoding.cs
- ArrayElementGridEntry.cs
- InternalConfigSettingsFactory.cs
- LogEntryUtils.cs
- WebBrowserDocumentCompletedEventHandler.cs
- TerminateWorkflow.cs
- MediaCommands.cs
- FrameworkContextData.cs
- precedingquery.cs
- DataService.cs
- ControlValuePropertyAttribute.cs
- ExpressionBuilderContext.cs
- DesignTimeData.cs
- JoinTreeNode.cs
- ComboBox.cs
- CqlBlock.cs
- RecognizedWordUnit.cs
- COM2PropertyPageUITypeConverter.cs
- EventNotify.cs
- DataControlFieldHeaderCell.cs
- URL.cs
- OpenFileDialog.cs
- RuntimeHandles.cs
- ResetableIterator.cs
- CustomAttributeBuilder.cs
- ConstantCheck.cs
- PageSettings.cs
- Win32Exception.cs
- CategoryGridEntry.cs
- OutputCacheSettings.cs
- WebPartsPersonalization.cs
- OleDbException.cs
- BStrWrapper.cs
- Matrix3D.cs
- MenuItemAutomationPeer.cs
- RegexCode.cs
- EmptyEnumerable.cs
- SimplePropertyEntry.cs
- WebControlsSection.cs
- Duration.cs
- RichTextBoxContextMenu.cs
- ValuePattern.cs
- CommandHelpers.cs
- DataGridViewTextBoxCell.cs
- ItemDragEvent.cs
- TaskFileService.cs
- DataTable.cs
- OdbcReferenceCollection.cs
- PageTheme.cs
- ReadOnlyDictionary.cs
- RSAPKCS1KeyExchangeDeformatter.cs
- ObjectCacheHost.cs
- dbdatarecord.cs
- InitializerFacet.cs
- ActionNotSupportedException.cs