2 implementations of Configuration
System.Data.Services (2)
System\Data\Services\DataService.cs (2)
95
DataServiceConfiguration IDataService.
Configuration
2156
public DataServiceConfiguration
Configuration
37 references to Configuration
System.Data.Services (37)
System\Data\Services\DataService.cs (12)
709
dataService.
Configuration
.ValidateMaxProtocolVersion(description);
720
(0 != (dataService.
Configuration
.GetServiceOperationRights(description.LastSegmentInfo.Operation.ServiceOperation) & ServiceOperationRights.OverrideEntitySetRights)))
1043
DataServiceConfiguration.GetAllowedMethods(dataService.
Configuration
, description));
1106
DataServiceConfiguration.GetAllowedMethods(dataService.
Configuration
, description));
1141
Debug.Assert(dataService.
Configuration
!= null, "dataService.Configuration != null");
1257
DataServiceConfiguration.GetAllowedMethods(dataService.
Configuration
, description));
1647
if (dataService.
Configuration
.DataServiceBehavior.InvokeInterceptorsOnLinkDelete)
2158
get { return this.dataService.
Configuration
; }
2693
if (this.batchElementCount > this.dataService.
Configuration
.MaxBatchCount)
2696
throw new DataServiceException(400, Strings.DataService_BatchExceedMaxBatchCount(this.dataService.
Configuration
.MaxBatchCount));
2708
if (this.changeSetElementCount > this.dataService.
Configuration
.MaxChangesetCount)
2710
throw new DataServiceException(400, Strings.DataService_BatchExceedMaxChangeSetCount(this.dataService.
Configuration
.MaxChangesetCount));
System\Data\Services\ErrorHandler.cs (8)
70
Debug.Assert(service.
Configuration
!= null, "service.Configuration != null");
77
HandleExceptionArgs args = new HandleExceptionArgs(exception, false, contentType, service.
Configuration
.UseVerboseErrors);
102
Debug.Assert(service.
Configuration
!= null, "service.Configuration != null - it should have been initialized by now");
111
HandleExceptionArgs args = new HandleExceptionArgs(exception, false, contentType, service.
Configuration
.UseVerboseErrors);
136
bool verbose = (service.
Configuration
!= null) ? service.
Configuration
.UseVerboseErrors : false;
163
Debug.Assert(service.
Configuration
!= null, "service.Configuration != null");
166
HandleExceptionArgs args = new HandleExceptionArgs(exception, true, contentType, service.
Configuration
.UseVerboseErrors);
System\Data\Services\Parsing\RequestQueryParser.cs (1)
1854
if (!this.service.
Configuration
.DataServiceBehavior.AcceptReplaceFunctionInQuery && functionDescriptions[0].IsReplace)
System\Data\Services\Providers\ResourceType.cs (1)
788
(!deserializer.Service.
Configuration
.EnableTypeConversion && clientProp.ResourceType.ResourceTypeKind == ResourceTypeKind.Primitive))
System\Data\Services\RequestDescription.cs (1)
518
this.RaiseFeatureVersion(2, 0, service.
Configuration
);
System\Data\Services\RequestQueryProcessor.cs (3)
491
segments.Add(new ExpandSegment(property.Name, filter, this.service.
Configuration
.MaxResultsPerCollection, resourceSet, property, null));
698
if (!this.service.
Configuration
.DataServiceBehavior.AcceptProjectionRequests)
972
if (!this.service.
Configuration
.DataServiceBehavior.AcceptCountRequests)
System\Data\Services\RequestUriProcessor.cs (2)
142
if (countOption != RequestQueryCountOption.None && !service.
Configuration
.DataServiceBehavior.AcceptCountRequests)
180
resultDescription.RaiseFeatureVersion(2, 0, service.
Configuration
);
System\Data\Services\Serializers\Deserializer.cs (6)
608
DataServiceConfiguration.GetAllowedMethods(service.
Configuration
, description));
771
Debug.Assert(value <= this.Service.
Configuration
.MaxObjectCountOnInsert, "On initialize, the value should be less than max object count");
794
if (service.
Configuration
.EnableTypeConversion)
989
Debug.Assert(this.objectCount <= this.Service.
Configuration
.MaxObjectCountOnInsert, "The object count should never exceed the limit");
995
if (this.objectCount > this.Service.
Configuration
.MaxObjectCountOnInsert)
997
throw new DataServiceException(413, Strings.BadRequest_ExceedsMaxObjectCountOnInsert(this.Service.
Configuration
.MaxObjectCountOnInsert));
System\Data\Services\Serializers\PlainXmlDeserializer.cs (1)
511
(!this.Service.
Configuration
.EnableTypeConversion && resourceProperty.ResourceType.ResourceTypeKind == ResourceTypeKind.Primitive);
System\Data\Services\Serializers\Serializer.cs (2)
476
int max = this.service.
Configuration
.MaxResultsPerCollection;
1061
if (this.service.
Configuration
.MaxResultsPerCollection != Int32.MaxValue ||