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
- ExtensionCollection.cs
- RuntimeConfig.cs
- StaticTextPointer.cs
- FontFamilyConverter.cs
- formatter.cs
- ObjectAnimationUsingKeyFrames.cs
- CodeRegionDirective.cs
- XmlWrappingWriter.cs
- PseudoWebRequest.cs
- StringOutput.cs
- SystemColorTracker.cs
- Point.cs
- UITypeEditor.cs
- StyleCollection.cs
- HttpException.cs
- AspCompat.cs
- SafeMILHandleMemoryPressure.cs
- BamlResourceSerializer.cs
- BoundColumn.cs
- AppDomainUnloadedException.cs
- Util.cs
- BrowserTree.cs
- CommandManager.cs
- ProxyWebPartConnectionCollection.cs
- HMACSHA256.cs
- ISFTagAndGuidCache.cs
- TimerElapsedEvenArgs.cs
- PermissionSet.cs
- ByteConverter.cs
- Single.cs
- TreeViewDataItemAutomationPeer.cs
- TreeViewBindingsEditor.cs
- ViewManagerAttribute.cs
- ErrorLog.cs
- GeometryDrawing.cs
- WebPart.cs
- Point3DAnimationUsingKeyFrames.cs
- DodSequenceMerge.cs
- EllipticalNodeOperations.cs
- XmlFileEditor.cs
- PeerNeighborManager.cs
- ClonableStack.cs
- DbConvert.cs
- Int64Storage.cs
- SafeSystemMetrics.cs
- BitmapEffectCollection.cs
- XXXInfos.cs
- MSAANativeProvider.cs
- TemplateBindingExtensionConverter.cs
- ImportContext.cs
- ProgressBarHighlightConverter.cs
- DbParameterCollectionHelper.cs
- Thumb.cs
- DataGridViewLinkColumn.cs
- BitmapEditor.cs
- MeasurementDCInfo.cs
- ProcessHostMapPath.cs
- LayoutTable.cs
- GlyphManager.cs
- WebConfigurationHostFileChange.cs
- MyContact.cs
- InfoCardX509Validator.cs
- TextDocumentView.cs
- CollectionsUtil.cs
- XmlSchemaAnyAttribute.cs
- GeneralTransform3DTo2DTo3D.cs
- TextElementEnumerator.cs
- PropertyChangeTracker.cs
- WindowsIdentity.cs
- CodeValidator.cs
- TemplateControlBuildProvider.cs
- BrowserCapabilitiesCodeGenerator.cs
- AuthenticationModeHelper.cs
- Misc.cs
- CanonicalFormWriter.cs
- TemplateBamlRecordReader.cs
- GridViewDeletedEventArgs.cs
- System.Data.OracleClient_BID.cs
- WebPartConnectionsConnectVerb.cs
- StringFormat.cs
- _SingleItemRequestCache.cs
- SafeNativeMethods.cs
- MappedMetaModel.cs
- HttpWebRequest.cs
- SelectingProviderEventArgs.cs
- SqlCharStream.cs
- HtmlMeta.cs
- ReaderContextStackData.cs
- MetadataPropertyCollection.cs
- GeneratedContractType.cs
- Point.cs
- Calendar.cs
- OperatorExpressions.cs
- EventProvider.cs
- RawStylusInputReport.cs
- FileLogRecord.cs
- DataReceivedEventArgs.cs
- MetadataItemEmitter.cs
- HtmlGenericControl.cs
- ChannelSinkStacks.cs