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
- MetadataUtil.cs
- LinkedList.cs
- CounterCreationDataCollection.cs
- SoapIgnoreAttribute.cs
- ZipPackagePart.cs
- MetadataSource.cs
- CompareInfo.cs
- NameNode.cs
- Transform3DGroup.cs
- DataServiceStreamProviderWrapper.cs
- ColumnWidthChangedEvent.cs
- Storyboard.cs
- TagNameToTypeMapper.cs
- ListViewEditEventArgs.cs
- Manipulation.cs
- InheritedPropertyChangedEventArgs.cs
- RootProjectionNode.cs
- CompiledQueryCacheEntry.cs
- HostTimeoutsElement.cs
- CollectionView.cs
- RightsManagementInformation.cs
- MimeMultiPart.cs
- PrintDialog.cs
- XPathPatternBuilder.cs
- GrowingArray.cs
- ProfileGroupSettingsCollection.cs
- OdbcHandle.cs
- OrderedDictionary.cs
- TextLine.cs
- ListViewInsertedEventArgs.cs
- CompilerError.cs
- XmlKeywords.cs
- AppLevelCompilationSectionCache.cs
- DataGridPageChangedEventArgs.cs
- DataGridViewControlCollection.cs
- _KerberosClient.cs
- HttpCacheVaryByContentEncodings.cs
- ExpressionDumper.cs
- CombinedGeometry.cs
- Geometry3D.cs
- TemplateBindingExtension.cs
- ClrPerspective.cs
- VerificationException.cs
- Perspective.cs
- ScriptingScriptResourceHandlerSection.cs
- HwndProxyElementProvider.cs
- DataGridViewImageColumn.cs
- DataViewManagerListItemTypeDescriptor.cs
- CompiledQuery.cs
- UserControlParser.cs
- SystemIcmpV6Statistics.cs
- __Error.cs
- TextDecorationCollectionConverter.cs
- DataRecordInfo.cs
- Columns.cs
- DependencyPropertyHelper.cs
- BindingMAnagerBase.cs
- CapabilitiesRule.cs
- RectangleHotSpot.cs
- SubclassTypeValidator.cs
- InkCollectionBehavior.cs
- TrackingStringDictionary.cs
- XPathException.cs
- Grant.cs
- dsa.cs
- SignatureGenerator.cs
- Point3DAnimationUsingKeyFrames.cs
- WebPartEditorApplyVerb.cs
- MetaType.cs
- DependencyPropertyConverter.cs
- ResumeStoryboard.cs
- Msmq3PoisonHandler.cs
- EventsTab.cs
- IndependentAnimationStorage.cs
- CheckBoxField.cs
- XamlSerializer.cs
- WS2007FederationHttpBindingElement.cs
- SiteMapHierarchicalDataSourceView.cs
- BitmapEncoder.cs
- TimeSpanValidatorAttribute.cs
- DataGridViewColumn.cs
- FixedSOMPageConstructor.cs
- BinaryFormatterWriter.cs
- Function.cs
- Pair.cs
- NavigationEventArgs.cs
- VectorCollectionConverter.cs
- GenericAuthenticationEventArgs.cs
- TimeSpanOrInfiniteConverter.cs
- UnsafeNativeMethods.cs
- SystemInfo.cs
- GroupBoxAutomationPeer.cs
- EditorAttributeInfo.cs
- ConfigsHelper.cs
- RayMeshGeometry3DHitTestResult.cs
- PermissionRequestEvidence.cs
- DeferredSelectedIndexReference.cs
- RenameRuleObjectDialog.cs
- ConfigXmlComment.cs
- ProcessModelInfo.cs