Beispiel #1
0
 /// <summary>
 /// Initializes a new instance of the Datasource class.
 /// </summary>
 /// <param name="name">The datasource name</param>
 /// <param name="connectionString">The datasource connection
 /// string</param>
 /// <param name="datasourceType">The datasource type</param>
 /// <param name="connectionDetails">The datasource connection
 /// details</param>
 /// <param name="gatewayId">The bound gateway id</param>
 /// <param name="datasourceId">The bound datasource id</param>
 public Datasource(string name = default(string), string connectionString = default(string), string datasourceType = default(string), DatasourceConnectionDetails connectionDetails = default(DatasourceConnectionDetails), string gatewayId = default(string), string datasourceId = default(string))
 {
     Name              = name;
     ConnectionString  = connectionString;
     DatasourceType    = datasourceType;
     ConnectionDetails = connectionDetails;
     GatewayId         = gatewayId;
     DatasourceId      = datasourceId;
     CustomInit();
 }
Beispiel #2
0
 /// <summary>
 /// Initializes a new instance of the UpdateDatasourceConnectionRequest
 /// class.
 /// </summary>
 public UpdateDatasourceConnectionRequest(DatasourceConnectionDetails connectionDetails = default(DatasourceConnectionDetails), Datasource datasourceSelector = default(Datasource))
 {
     ConnectionDetails  = connectionDetails;
     DatasourceSelector = datasourceSelector;
     CustomInit();
 }