public Rds(ServiceName hostServiceName, DbType dbType) { var config = ServiceConfigHelper.GlobalServiceConfig. GetServiceFromBuffer <PublicCloudRdsConfig>( ServiceName.Cloud_RdsService, hostServiceName); Init(config, dbType); }
private void Init(PublicCloudRdsConfig config, DbType dbType) { _config = config; _connectionString = config.GetDbConnectString(); }