C# Class Dev2.Runtime.ServiceModel.DbSources

Inheritance: Dev2.Runtime.Diagnostics.ExceptionManager
Show file Open project: Warewolf-ESB/Warewolf

Public Methods

Method Description
Get ( string resourceId, System.Guid workspaceId, System.Guid dataListId ) : DbSource
Save ( string args, System.Guid workspaceId, System.Guid dataListId ) : string
Search ( string term, System.Guid workspaceId, System.Guid dataListId ) : string
Test ( string args, System.Guid workspaceId, System.Guid dataListId ) : DatabaseValidationResult

Protected Methods

Method Description
CreateDatabaseBroker ( enSourceType type ) : SqlDatabaseBroker
CreateMySqlDatabaseBroker ( enSourceType type ) : MySqlDatabaseBroker
DoDatabaseValidation ( DbSource dbSourceDetails ) : DatabaseValidationResult

Method Details

CreateDatabaseBroker() protected method

protected CreateDatabaseBroker ( enSourceType type ) : SqlDatabaseBroker
type enSourceType
return SqlDatabaseBroker

CreateMySqlDatabaseBroker() protected method

protected CreateMySqlDatabaseBroker ( enSourceType type ) : MySqlDatabaseBroker
type enSourceType
return MySqlDatabaseBroker

DoDatabaseValidation() protected method

protected DoDatabaseValidation ( DbSource dbSourceDetails ) : DatabaseValidationResult
dbSourceDetails Dev2.Runtime.ServiceModel.Data.DbSource
return Dev2.Runtime.Diagnostics.DatabaseValidationResult

Get() public method

public Get ( string resourceId, System.Guid workspaceId, System.Guid dataListId ) : DbSource
resourceId string
workspaceId System.Guid
dataListId System.Guid
return Dev2.Runtime.ServiceModel.Data.DbSource

Save() public method

public Save ( string args, System.Guid workspaceId, System.Guid dataListId ) : string
args string
workspaceId System.Guid
dataListId System.Guid
return string

Search() public method

public Search ( string term, System.Guid workspaceId, System.Guid dataListId ) : string
term string
workspaceId System.Guid
dataListId System.Guid
return string

Test() public method

public Test ( string args, System.Guid workspaceId, System.Guid dataListId ) : DatabaseValidationResult
args string
workspaceId System.Guid
dataListId System.Guid
return Dev2.Runtime.Diagnostics.DatabaseValidationResult