IDbConnection DbConnection(TestDatabase database) { var dbConnection = ReflectConnectionHelper.GetConnection("iAnywhere.Data.SQLAnywhere", "iAnywhere.Data.SQLAnywhere.SAConnection", UtilityConnString(database)); return(dbConnection); }
public static IDbConnection DbConnection(this TestDatabase database, string connectionString, string assemblyName, string typeName) { return(ReflectConnectionHelper.GetConnection(assemblyName, typeName, connectionString)); }