breeze-client / DataServiceConfig
Interface: DataServiceConfig
Defined in: src/metadata/data-service.ts:10
Configuration info to be passed to the DataService constructor
Properties
adapterName?
optionaladapterName?:string
Defined in: src/metadata/data-service.ts:14
The adapter name for the DataServiceAdapter to be used with this service.
hasServerMetadata?
optionalhasServerMetadata?:boolean
Defined in: src/metadata/data-service.ts:18
Whether the server can provide metadata for this service.
jsonResultsAdapter?
optionaljsonResultsAdapter?:JsonResultsAdapter
Defined in: src/metadata/data-service.ts:20
The JsonResultsAdapter used to process the results of any query against this DataService.
serviceName?
optionalserviceName?:string
Defined in: src/metadata/data-service.ts:12
The serviceName for this DataService.
uriBuilderName?
optionaluriBuilderName?:string
Defined in: src/metadata/data-service.ts:16
The adapter name for the UriBuilderAdapter to be used with this service.
useJsonp?
optionaluseJsonp?:boolean
Defined in: src/metadata/data-service.ts:25
Whether to use JSONP when performing a 'GET' request against this service.
Deprecated
No effect on Breeze's own transport, which has no JSONP support. Kept because it is part of a serialized DataService, and because a registered (deprecated) ajax adapter can still act on the dataType and crossDomain settings it produces.