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
- FilteredAttributeCollection.cs
- Vector3DValueSerializer.cs
- UIElement3DAutomationPeer.cs
- UnaryNode.cs
- PropertyValue.cs
- UshortList2.cs
- DiscreteKeyFrames.cs
- ToolStripDropDown.cs
- ExtensionDataReader.cs
- TransformerInfoCollection.cs
- ErrorWrapper.cs
- UserNameServiceElement.cs
- PreDigestedSignedInfo.cs
- Base64Stream.cs
- TypeDescriptionProviderAttribute.cs
- DispatcherHooks.cs
- NullExtension.cs
- CharStorage.cs
- ChannelBinding.cs
- ToolStripManager.cs
- AttributeExtensions.cs
- ExpressionBindingCollection.cs
- PreApplicationStartMethodAttribute.cs
- CodeConditionStatement.cs
- AnnotationHelper.cs
- QuadraticBezierSegment.cs
- WriteableBitmap.cs
- LinkDesigner.cs
- GlyphElement.cs
- FeatureManager.cs
- TdsParser.cs
- SizeFConverter.cs
- MemberNameValidator.cs
- IfJoinedCondition.cs
- GenericEnumerator.cs
- KnowledgeBase.cs
- SmtpReplyReader.cs
- RuleConditionDialog.Designer.cs
- SecurityContext.cs
- _AuthenticationState.cs
- SimpleTextLine.cs
- TypeReference.cs
- MasterPage.cs
- precedingsibling.cs
- EventLogInformation.cs
- RectangleF.cs
- SerialErrors.cs
- OracleConnectionString.cs
- GatewayIPAddressInformationCollection.cs
- Visual3D.cs
- ObjectSpanRewriter.cs
- ObjectNotFoundException.cs
- PolyBezierSegment.cs
- CacheRequest.cs
- DataPointer.cs
- FragmentQuery.cs
- TraceHandlerErrorFormatter.cs
- ToolboxComponentsCreatedEventArgs.cs
- GiveFeedbackEventArgs.cs
- ItemCollection.cs
- OnOperation.cs
- DataSetMappper.cs
- ObjectDesignerDataSourceView.cs
- SetUserPreferenceRequest.cs
- DbProviderFactory.cs
- BaseParser.cs
- XPathAxisIterator.cs
- DataGridViewRowsRemovedEventArgs.cs
- _Semaphore.cs
- RemoteWebConfigurationHostServer.cs
- VariantWrapper.cs
- ValueType.cs
- FieldAccessException.cs
- ResourcesGenerator.cs
- CodeDomComponentSerializationService.cs
- CorrelationManager.cs
- CoreSwitches.cs
- ConnectionManagementElement.cs
- AssemblyAttributes.cs
- BinaryMethodMessage.cs
- ApplicationHost.cs
- DateTimeOffsetConverter.cs
- SafeHandle.cs
- ClientTarget.cs
- UnsafeNativeMethods.cs
- PageAsyncTask.cs
- OleDbCommandBuilder.cs
- XmlSchemaSequence.cs
- Quad.cs
- FormParameter.cs
- SoapInteropTypes.cs
- WrapPanel.cs
- storagemappingitemcollection.viewdictionary.cs
- FormClosingEvent.cs
- OracleException.cs
- SwitchCase.cs
- RelationshipDetailsCollection.cs
- PreservationFileWriter.cs
- ObjectStorage.cs
- DbQueryCommandTree.cs