diff options
| author | mo khan <mo@mokhan.ca> | 2009-10-23 13:09:04 -0600 |
|---|---|---|
| committer | mo khan <mo@mokhan.ca> | 2009-10-23 13:09:04 -0600 |
| commit | 9a3430b2a1f0445c0dbac703907762e225383421 (patch) | |
| tree | 751d5742a199eae57ebb6d767e650bd6c803bdc3 /product/database/db4o/ConnectionFactory.cs | |
| parent | f76fe6ca01f3dc5fabc8bf16f299420ba9d7ef05 (diff) | |
renamed some components to something that is more descriptive.main
Diffstat (limited to 'product/database/db4o/ConnectionFactory.cs')
| -rw-r--r-- | product/database/db4o/ConnectionFactory.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/product/database/db4o/ConnectionFactory.cs b/product/database/db4o/ConnectionFactory.cs index e18895f..57260d5 100644 --- a/product/database/db4o/ConnectionFactory.cs +++ b/product/database/db4o/ConnectionFactory.cs @@ -17,11 +17,11 @@ namespace momoney.database.db4o this.setup_container = setup_container; } - public IDatabaseConnection open_connection_to(File the_path_to_the_database_file) + public DatabaseConnection open_connection_to(File the_path_to_the_database_file) { var configuration = Db4oFactory.NewConfiguration(); setup.configure(configuration); - return new DatabaseConnection(get_container(the_path_to_the_database_file, configuration)); + return new ObjectDatabaseConnection(get_container(the_path_to_the_database_file, configuration)); } IObjectContainer get_container(File the_path_to_the_database_file, IConfiguration configuration) |
