A Sandcastle Documented Class Library

# DataConnectorController Class

The REST API for performing data connector object tasks.
Inheritance Hierarchy
System
Object
Microsoft.AspNetCore.Mvc
ControllerBase
Dundas.BI.WebApi.Controllers
ApiControllerBase
Dundas.BI.WebApi.Controllers
DataConnectorController

Namespace: Dundas.BI.WebApi.Controllers
Assembly: Dundas.BI.WebApi (in Dundas.BI.WebApi.dll) Version: 2.0.0.0 (10.0.0.1002)
Syntax
C#
VB
C++
F#
Copy

    public class DataConnectorController : ApiControllerBase

    Public Class DataConnectorController
    	Inherits ApiControllerBase

    public ref class DataConnectorController : public ApiControllerBase

    type DataConnectorController =
        class
            inherit ApiControllerBase
        end

The DataConnectorController type exposes the following members.

Constructors

| Name | Description
--- | --- | ---
| DataConnectorController | Initializes a new instance of the DataConnectorController class.

Top
Methods

| Name | Description
--- | --- | ---
| CreateDataConnector | POST /DataConnector/ Creates a new data connector.
| DefineRelationalTabularStructures | POST /DataConnector/RelationalTabularStructures/{id} Defines the structures under a data connector for tabular providers.
| DiscoverDataStructures | POST /DataConnector/Discover/{id} Discovers the data structures for a given data connector.
| DiscoverSpecifiedDataStructures | POST /DataConnector/DiscoverSpecified/{id} Discovers the specified data structures for a given data connector.
| EnsureCallerContext | If the current context is not already the specified context, creates a new caller context which is a clone of the specified context and sets it as the current one. (Inherited from ApiControllerBase.)
| EnsureFormFileMultipartContent | Ensures when form files are access the content is MIME multi-part which we want. (Inherited from ApiControllerBase.)
| GenerateDataConnector | POST /DataConnector/Generate Generates a data connector from the given options. This call will not discover the structure, but will auto-select a provider as appropriate.
| GetClientIdFromCookieOrProvided | Gets the client ID from cookie or from the provided value, which is usually from the query string. (Inherited from ApiControllerBase.)
| GetDataConnector | GET /DataConnector/{id} Gets a data connector.
| GetRelationalTabularStructures | GET /DataConnector/RelationalTabularStructures/{id} Gets the structures under a data connector for tabular providers.
| GetService T | Gets the requested service. (Inherited from ApiControllerBase.)
| GetSessionIdFromCookieHeaderOrProvided | Gets the session ID from cookie, the authorization header or from the provided value, which is usually from the query string. (Inherited from ApiControllerBase.)
| ListStructures | POST /DataConnector/ListStructures Lists the structures for the data connector information given that can be used for DiscoverSpecifiedDataStructures(Guid, DiscoverSpecifiedStructuresOptions, Nullable Guid ).
| LoadSession | Creates a new caller context associated with the specified session ID. The session is not validated. (Inherited from ApiControllerBase.)
| RequestFirstFormFile | Retrieves the first form file from the request. (Inherited from ApiControllerBase.)
| RequestFormFiles | Retrieves the form files from the request. (Inherited from ApiControllerBase.)
| ReturnInvalidWindowsIdentityResponse | Returns the invalid windows identity response to challenge the browser. (Inherited from ApiControllerBase.)
| TestDataConnector | PUT /DataConnector/Test/ Tests a data connector.
| UpdateDataConnector | PUT /DataConnector/{id} Updates a data connector.

Top
See Also

#### Reference

Dundas.BI.WebApi.Controllers Namespace