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
- SmiContextFactory.cs
- SafeNativeMethods.cs
- ConfigurationProperty.cs
- DesignTableCollection.cs
- StructuralCache.cs
- XmlSerializerAssemblyAttribute.cs
- RegistrationContext.cs
- nulltextcontainer.cs
- XmlQualifiedName.cs
- GenericNameHandler.cs
- Variant.cs
- ResXFileRef.cs
- SparseMemoryStream.cs
- WebConfigurationFileMap.cs
- ScriptResourceHandler.cs
- TriState.cs
- ComponentEditorForm.cs
- XmlReturnWriter.cs
- Paragraph.cs
- ApplicationProxyInternal.cs
- RuntimeConfigurationRecord.cs
- PropertyMapper.cs
- DependencyObjectProvider.cs
- BufferAllocator.cs
- TouchPoint.cs
- TypeConverterMarkupExtension.cs
- ResourcesBuildProvider.cs
- ErasingStroke.cs
- COMException.cs
- SqlWebEventProvider.cs
- TextEncodedRawTextWriter.cs
- QueryCacheManager.cs
- HyperLink.cs
- SqlXml.cs
- CommonObjectSecurity.cs
- AssemblyFilter.cs
- PeerResolverMode.cs
- TransformerInfoCollection.cs
- DefaultBindingPropertyAttribute.cs
- KeyPullup.cs
- MessageQueueInstaller.cs
- mda.cs
- AspNetHostingPermission.cs
- XmlnsDictionary.cs
- ExtentKey.cs
- StateManagedCollection.cs
- NetworkCredential.cs
- HierarchicalDataSourceControl.cs
- Table.cs
- Stackframe.cs
- DataGridViewElement.cs
- SqlClientPermission.cs
- ZipIOModeEnforcingStream.cs
- MenuItem.cs
- ApplyTemplatesAction.cs
- PropertyCondition.cs
- EventProperty.cs
- SymDocumentType.cs
- DirectoryObjectSecurity.cs
- XmlChoiceIdentifierAttribute.cs
- BaseProcessProtocolHandler.cs
- GatewayDefinition.cs
- ContextInformation.cs
- SimpleBitVector32.cs
- DeadCharTextComposition.cs
- ScriptHandlerFactory.cs
- RuleInfoComparer.cs
- WindowsStartMenu.cs
- XamlReader.cs
- ClockController.cs
- RepeatButton.cs
- XmlAttributeOverrides.cs
- PenContexts.cs
- RefType.cs
- ByteBufferPool.cs
- DataTableMapping.cs
- DeleteMemberBinder.cs
- ObservableDictionary.cs
- FilteredDataSetHelper.cs
- ScriptingJsonSerializationSection.cs
- DelegatingConfigHost.cs
- TextTreeObjectNode.cs
- MaskInputRejectedEventArgs.cs
- InfoCardAsymmetricCrypto.cs
- QueryRewriter.cs
- ObjectToIdCache.cs
- DataMemberConverter.cs
- UserNamePasswordValidationMode.cs
- LoginView.cs
- XmlAutoDetectWriter.cs
- FullTextLine.cs
- AdobeCFFWrapper.cs
- TreeBuilderXamlTranslator.cs
- ReferencedCollectionType.cs
- WorkflowPersistenceService.cs
- Int32Converter.cs
- Processor.cs
- SchemaElement.cs
- MsmqIntegrationChannelListener.cs
- WCFServiceClientProxyGenerator.cs