Currently we have lots of them.
This makes developing DO impossible without plenties of tricky configured
servers. Every connection information for tests should be overridable with
ease.
Possible API (in Core.Testing since we need this for Sql solution too):
enum ServerReference {
SqlServer, // default sql server (for do tests)
SqlServerNorthwind, // northwind in default sql server
SqlServerAdventureWorks, // adventure works for default sql server
SqlServer2005, // sql server 2005 (for do tests)
SqlServer2005Northwind, // northwind in sql server 2005
SqlServer2005AdventureWorks, // adventure works in sql server 2005
SqlServer2008, // sql server 2008 (for do tests)
SqlServer2008Northwind, // northwind in sql server 2008
SqlServer2008AdventureWorks, // adventure works in sql server 2008
PostgreSql, // default postgresql server (for do tests)
PostgreSql82, // postgresql v8.2 (for do tests)
PostgreSql83, // postgresql v8.3 (for do tests)
PostgreSql84, // postgresql v8.4 (for do tests)
Oracle, // default oracle server (for do tests)
Oracle09, // oracle 9i2 (for do tests)
Oracle10, // oracle 10g (for do tests)
Oracle11, // oracle 11g (for do tests)
}
class ServerResolver {
string GetConnectionString(ServerReference reference);
UrlInfo GetConnectionUrl(ServerReference reference);
}
Original issue reported on code.google.com by denis.kr...@gmail.com on 18 Jan 2010 at 11:40
Original issue reported on code.google.com by
denis.kr...@gmail.com
on 18 Jan 2010 at 11:40