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
- TextEvent.cs
- TreeView.cs
- MediaPlayer.cs
- Pair.cs
- FixedTextContainer.cs
- LeftCellWrapper.cs
- TimeoutValidationAttribute.cs
- smtppermission.cs
- RemotingConfigParser.cs
- PersonalizationStateInfo.cs
- DoubleCollectionValueSerializer.cs
- ResourceDictionaryCollection.cs
- HighContrastHelper.cs
- MetadataException.cs
- Point3DAnimation.cs
- CalendarDay.cs
- PermissionToken.cs
- Identity.cs
- OleDbInfoMessageEvent.cs
- SourceItem.cs
- OperationFormatter.cs
- ItemChangedEventArgs.cs
- DataKey.cs
- AutoGeneratedField.cs
- Char.cs
- TiffBitmapEncoder.cs
- HtmlShimManager.cs
- OleDbDataAdapter.cs
- EnumConverter.cs
- CipherData.cs
- Content.cs
- PolyQuadraticBezierSegment.cs
- AppDomainEvidenceFactory.cs
- FileIOPermission.cs
- TypeSource.cs
- Model3D.cs
- StringExpressionSet.cs
- IApplicationTrustManager.cs
- RpcCryptoContext.cs
- MissingFieldException.cs
- ListenerHandler.cs
- PopOutPanel.cs
- XmlCountingReader.cs
- JoinQueryOperator.cs
- ExtensionDataObject.cs
- GZipDecoder.cs
- PassportAuthentication.cs
- EventLogPermissionAttribute.cs
- ParameterToken.cs
- Missing.cs
- XmlDataSourceView.cs
- StorageFunctionMapping.cs
- ToolStripControlHost.cs
- VectorCollectionValueSerializer.cs
- BinaryNode.cs
- Typography.cs
- TraceXPathNavigator.cs
- NativeMethods.cs
- FixedBufferAttribute.cs
- TypeDelegator.cs
- PathSegment.cs
- CodeMemberMethod.cs
- OlePropertyStructs.cs
- WebPartUtil.cs
- ObjectDataProvider.cs
- BindingSource.cs
- ToolStripRenderer.cs
- WebBrowserContainer.cs
- OdbcEnvironment.cs
- CharEnumerator.cs
- TextSchema.cs
- CodeBlockBuilder.cs
- WindowsListView.cs
- WindowsAuthenticationModule.cs
- ConnectionsZone.cs
- SortedDictionary.cs
- CaseInsensitiveOrdinalStringComparer.cs
- CardSpaceSelector.cs
- SortAction.cs
- WindowsIPAddress.cs
- PrtCap_Public_Simple.cs
- HitTestFilterBehavior.cs
- MetadataUtilsSmi.cs
- QilUnary.cs
- QilBinary.cs
- METAHEADER.cs
- SafeRegistryKey.cs
- CommandID.cs
- CacheMode.cs
- GeneralTransform3DGroup.cs
- ValidationPropertyAttribute.cs
- WindowShowOrOpenTracker.cs
- NullableBoolConverter.cs
- IResourceProvider.cs
- SspiSecurityToken.cs
- TableHeaderCell.cs
- CompoundFileDeflateTransform.cs
- IteratorFilter.cs
- SQLDateTimeStorage.cs
- SqlServer2KCompatibilityCheck.cs