Click or drag to resize

DataSetsGetBase Method

Returns the DataSetBase that was generated to fulfil the specified DataSpec from the request, or throws a SourceDataException if no such data set could be generated.

Namespace: DegreeDays.Api.Data
Assembly: DegreeDays (in DegreeDays.dll) Version: 1.4
Syntax
public DataSetBase GetBase(
	DataSpec dataSpec
)

Parameters

dataSpec  DataSpec
A DataSpec from the request.

Return Value

DataSetBase
The non-null DataSetBase that was generated to fulfil dataSpec.
Exceptions
ExceptionCondition
SourceDataExceptionThe API's processing of dataSpec failed.
ArgumentNullExceptiondataSpec is null.
ArgumentExceptiondataSpec is not a DataSpec from the original request.
InvalidOperationExceptionThis DataSets object was not created with access to the DataSpecs object from the request (this won't be an issue if you are using this framework end to end).
See Also