A DataService instance is used to encapsulate the details of a single 'service';
this includes a serviceName, a dataService adapterInstance, and whether the service has server side metadata.
Inheritance Hierarchy
Breeze.SharpDataService
Namespace: Breeze.Sharp
Assembly: Breeze.Sharp (in Breeze.Sharp.dll) Version: 0.6.0.5 (0.6.0.5)
Syntax
The DataService type exposes the following members.
Constructors
Name | Description | |
---|---|---|
DataService(JNode) |
For internal use only.
| |
DataService(String, HttpClient) |
Constructs a new DataService with the option to use an already configured HttpClient. If one is not provided
then the DataService will create one internally. In either case it will be available via the HttpClient property.
|
Methods
Name | Description | |
---|---|---|
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetAsync(String) | ||
GetAsync(String, CancellationToken) | ||
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
PostAsync | ||
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Properties
Name | Description | |
---|---|---|
Adapter | ||
DefaultHttpMessageHandler |
The Default HttpMessageHandler to be used in the event that
Breeze creates the HttpClient automatically for this service.
| |
HasServerMetadata | ||
HttpClient |
Returns the HttpClient used by this data service. This reference may be
used to customize headers, buffer sizes and timeouts.
| |
JsonResultsAdapter | ||
ServerMetadata | ||
ServiceName | ||
UseJsonP |
Remarks
See Also