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
- SqlSelectStatement.cs
- PackageRelationshipSelector.cs
- UserNameServiceElement.cs
- TextContainerHelper.cs
- CommonObjectSecurity.cs
- OracleLob.cs
- ExecutedRoutedEventArgs.cs
- XmlRawWriter.cs
- ToolStripButton.cs
- wgx_render.cs
- WindowsRichEditRange.cs
- UInt64Converter.cs
- ControlParameter.cs
- TypeToken.cs
- CacheVirtualItemsEvent.cs
- HandledEventArgs.cs
- EDesignUtil.cs
- ModulesEntry.cs
- DecimalAnimation.cs
- UnknownBitmapEncoder.cs
- TimelineGroup.cs
- ResumeStoryboard.cs
- PlatformCulture.cs
- ButtonStandardAdapter.cs
- MLangCodePageEncoding.cs
- XmlDesigner.cs
- MDIControlStrip.cs
- __Filters.cs
- ParameterExpression.cs
- MetaDataInfo.cs
- ToolStripTextBox.cs
- XamlFilter.cs
- MobileTextWriter.cs
- DummyDataSource.cs
- StringComparer.cs
- SqlCacheDependencySection.cs
- PrimitiveXmlSerializers.cs
- MultiByteCodec.cs
- ComponentCollection.cs
- ZipIOLocalFileDataDescriptor.cs
- BitmapEffectGeneralTransform.cs
- StringSource.cs
- SQLString.cs
- ObjectStorage.cs
- DetailsViewInsertEventArgs.cs
- Cell.cs
- SingleConverter.cs
- XDRSchema.cs
- FlowDocumentReaderAutomationPeer.cs
- ELinqQueryState.cs
- PackageStore.cs
- DynamicArgumentDesigner.xaml.cs
- BitStack.cs
- CombinedGeometry.cs
- QilLiteral.cs
- XmlSchemaSimpleType.cs
- ForAllOperator.cs
- TransformCryptoHandle.cs
- AuthenticationModuleElement.cs
- Site.cs
- PropertyKey.cs
- RefreshEventArgs.cs
- AdornedElementPlaceholder.cs
- WebPartConnectVerb.cs
- FrameworkContextData.cs
- SettingsSection.cs
- ColumnWidthChangedEvent.cs
- CultureSpecificCharacterBufferRange.cs
- DataGridCommandEventArgs.cs
- Filter.cs
- FieldToken.cs
- MailWriter.cs
- AuthStoreRoleProvider.cs
- XsdDataContractExporter.cs
- ScrollBarRenderer.cs
- PenLineJoinValidation.cs
- TemplatingOptionsDialog.cs
- TextServicesPropertyRanges.cs
- Pair.cs
- HtmlElementEventArgs.cs
- SqlDependencyListener.cs
- NetStream.cs
- PeerTransportSecuritySettings.cs
- PersonalizationProviderCollection.cs
- Parsers.cs
- Journaling.cs
- TemplatedMailWebEventProvider.cs
- ObjectComplexPropertyMapping.cs
- Token.cs
- SystemGatewayIPAddressInformation.cs
- ProgressBarRenderer.cs
- XmlSchemaResource.cs
- EntityDataSourceWrapperCollection.cs
- SendingRequestEventArgs.cs
- LocatorBase.cs
- DefaultPropertyAttribute.cs
- FastEncoder.cs
- SemanticAnalyzer.cs
- MenuRenderer.cs
- DataGridPageChangedEventArgs.cs