Méthode | Description | |
---|---|---|
BatchRequests ( List |
Package many requests(insert,update or delete request) in one batch request.
|
|
DeleteListItem ( Request request ) : bool |
Delete a special list item.
|
|
Initialize ( ITestSite testSite ) : void |
Overrides IAdapter's Initialize() and sets default protocol short name of the testSite.
|
|
InsertListItem ( Request request ) : |
Insert a list item.
|
|
RetrieveListItem ( Request request ) : object |
Retrieve list item from server.
|
|
UpdateListItem ( Request request ) : string |
Update a list item.
|
Méthode | Description | |
---|---|---|
CaptureTransportRelatedRequirements ( ) : void |
Capture underlying transport protocol related requirements.
|
|
CheckEntitySet ( string entitySetName, |
Check whether the specified EntitySet exist in the metadata.
|
|
CheckProperty ( |
Check whether the specified property contained in the response.
|
|
CheckPropertyType ( string fieldName, string propertyType, |
Check whether the type of the specified property equals to the specified property type.
|
|
IsContainsIdProperty ( |
Check whether the special xml node contains an id property.
|
|
ValidateAndCaptureSchemaValidation ( ) : void |
Validate the requirement by schema validation.
|
|
ValidateRetrieveCSDLDocument ( |
To catch Adapter requirements of RetrieveCSDLDocument operation.
|
public BatchRequests ( List |
||
requests | List |
The multi requests. |
Résultat | string |
public DeleteListItem ( Request request ) : bool | ||
request | Request | The special list item. |
Résultat | bool |
public Initialize ( ITestSite testSite ) : void | ||
testSite | ITestSite | Transfer ITestSite into adapter, make adapter can use ITestSite's function. |
Résultat | void |
public InsertListItem ( Request request ) : |
||
request | Request | The content of the list item that be inserted. |
Résultat |
public RetrieveListItem ( Request request ) : object | ||
request | Request | The retrieve condition. |
Résultat | object |
public UpdateListItem ( Request request ) : string | ||
request | Request | The content of the list item that be updated. |
Résultat | string |