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
- SemaphoreSecurity.cs
- Vector.cs
- AppDomain.cs
- TaskbarItemInfo.cs
- HtmlInputImage.cs
- GenericWebPart.cs
- Exceptions.cs
- RotateTransform.cs
- Soap12FormatExtensions.cs
- XPathNavigatorKeyComparer.cs
- ImageAttributes.cs
- ProtocolsConfiguration.cs
- Viewport3DAutomationPeer.cs
- ReferenceEqualityComparer.cs
- SimpleTypesSurrogate.cs
- QueryConverter.cs
- ParseChildrenAsPropertiesAttribute.cs
- DrawingAttributeSerializer.cs
- CustomAttributeBuilder.cs
- basevalidator.cs
- BitmapVisualManager.cs
- TypeInfo.cs
- X500Name.cs
- WebPartsPersonalization.cs
- FixedSOMPage.cs
- SmtpAuthenticationManager.cs
- WindowsIdentity.cs
- CodeAttributeArgument.cs
- SqlServer2KCompatibilityAnnotation.cs
- TypeReference.cs
- SqlInfoMessageEvent.cs
- C14NUtil.cs
- MemberProjectionIndex.cs
- ToolStripMenuItem.cs
- Context.cs
- ProgressPage.cs
- BuilderInfo.cs
- StateManagedCollection.cs
- OperationResponse.cs
- FunctionImportMapping.ReturnTypeRenameMapping.cs
- XmlSerializerFactory.cs
- MenuAutomationPeer.cs
- Authorization.cs
- ChannelServices.cs
- HtmlControl.cs
- OraclePermission.cs
- MailAddressCollection.cs
- AssemblyName.cs
- Operators.cs
- PrePrepareMethodAttribute.cs
- ContainerTracking.cs
- SqlStream.cs
- DiscoveryInnerClientAdhocCD1.cs
- InternalCache.cs
- RoleManagerModule.cs
- StringArrayConverter.cs
- SecurityTokenTypes.cs
- SoapHeaderAttribute.cs
- LocalizedNameDescriptionPair.cs
- PropagatorResult.cs
- RoutedEventHandlerInfo.cs
- DesignTableCollection.cs
- RequestCache.cs
- FederatedMessageSecurityOverHttpElement.cs
- StateChangeEvent.cs
- DataGridViewUtilities.cs
- TreeNodeCollection.cs
- SqlExpressionNullability.cs
- Properties.cs
- Action.cs
- Condition.cs
- CheckBoxPopupAdapter.cs
- Expression.DebuggerProxy.cs
- StrokeCollectionDefaultValueFactory.cs
- ValidationRule.cs
- MethodImplAttribute.cs
- BitmapSource.cs
- LogEntryHeaderv1Deserializer.cs
- ListDictionary.cs
- SQLGuid.cs
- UserControl.cs
- HashUtility.cs
- ImageDrawing.cs
- PropertyGrid.cs
- SpecularMaterial.cs
- ToolStripRenderer.cs
- BitSet.cs
- SqlEnums.cs
- PolicyStatement.cs
- HeaderedItemsControl.cs
- DispatchChannelSink.cs
- FilteredAttributeCollection.cs
- SymmetricCryptoHandle.cs
- XmlSchemaComplexContent.cs
- StorageMappingItemLoader.cs
- SecuritySessionServerSettings.cs
- baseshape.cs
- EncoderReplacementFallback.cs
- Setter.cs
- CLSCompliantAttribute.cs